Shows an error while configuring outbound and inbound mails.Please help me.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sujithraalink
    Member
    • Oct 2018
    • 94

    Shows an error while configuring outbound and inbound mails.Please help me.


    Shows error while configuring mails. Please help me to resolve the issue. Error message is shown below. cannot connect to host ; error = fsockopen(): unable to connect to ssl://imap.gmail.com:993 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,
    have you enabled IMAP connection in the Gmail settings?

    Comment

    • sujithraalink
      Member
      • Oct 2018
      • 94

      #3
      Both POP and IMAP is enabled. still issue exists. Please help.

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Check whether you have enabled:
        1. Less secure applications https://www.dev2qa.com/how-do-i-enable-less-secure-apps-on-gmail/.
        2. IMAP (https://mail.google.com/mail/u/0/?ta...ings/fwdandpop).

        Comment

        • sujithraalink
          Member
          • Oct 2018
          • 94

          #5
          I have enabled both.still shows same error.

          Comment

          • Maximus
            Senior Member
            • Nov 2018
            • 2731

            #6
            Do you have any firewall that restricts this connection?
            Could you provide screenshot with your IMAP configs?

            Comment

            • sujithraalink
              Member
              • Oct 2018
              • 94

              #7
              Thank you so much for the reply..It works now. I think some firewall was restricting the connection.

              Comment

              Working...