{"id":7107,"date":"2014-05-22T03:31:21","date_gmt":"2014-05-22T03:31:21","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/22\/the-server-returned-the-error-the-server-imap-gmail-com-cannot-be-contacted-on-port-993-collection-of-common-programming-errors\/"},"modified":"2014-05-22T03:31:21","modified_gmt":"2014-05-22T03:31:21","slug":"the-server-returned-the-error-the-server-imap-gmail-com-cannot-be-contacted-on-port-993-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/22\/the-server-returned-the-error-the-server-imap-gmail-com-cannot-be-contacted-on-port-993-collection-of-common-programming-errors\/","title":{"rendered":"The server returned the error: The server &#8220;imap.gmail.com&#8221; cannot be contacted on port 993-Collection of common programming errors"},"content":{"rendered":"<p>My Mac Mail has just started going on the fritz. I have a gmail account linked to mail and also a hotmail account. Both have warning signs and I cannot send or receive mail. They were both fine yesterday. I have not updated or changed anything.<\/p>\n<p>I am running OS X 10.8.2 and Mail Version 6.1 (1498).<\/p>\n<p>When I click on the warning sign for gmail to &#8216;take it online&#8217; I get the following message:<\/p>\n<blockquote>\n<p>Unable to receive mail. There may be a problem with the mail server or network. Verify the settings for account &#8220;gmail&#8221; or try again.<\/p>\n<p>The server returned the error: The server &#8220;imap.gmail.com&#8221; cannot be contacted on port 995.<\/p>\n<\/blockquote>\n<p>&#8230;And the following for Hotmail account:<\/p>\n<blockquote>\n<p>Unable to receive mail. There may be a problem with the mail server or network. Verify the settings for account &#8220;Hotmail&#8221; or try again.<\/p>\n<p>The server returned the error: The server &#8220;pop3.live.com&#8221; cannot be contacted on port &gt; 995.<\/p>\n<\/blockquote>\n<p>I&#8217;ve tried sending mail and it shows that both gmail and hotmail are both offline.<\/p>\n<p>I have been on multiple forums with this problem and it seems the whole world is having the same problem with no fix.<\/p>\n<p>I&#8217;ve already tried the following to no avail:<\/p>\n<ul>\n<li>\n<p>I&#8217;ve checked all my info is entered correctly.<\/p>\n<\/li>\n<li>\n<p>Changing the &#8216;incoming mail server&#8217; to IMAP.googlemail.com &#8211; this got rid of the warning sign but still, will not send or receive mail. The warning sign has now changed to a &#8216;zig zag&#8217; sign next to gmail.<\/p>\n<\/li>\n<li>\n<p>Changing the port number from 995 to 993.<\/p>\n<\/li>\n<li>\n<p>Re-entering my password.<\/p>\n<\/li>\n<li>\n<p>Deleting the accounts and re-adding them.<\/p>\n<\/li>\n<\/ul>\n<p>Nothing works. Please does anyone have a REAL fix for this?<\/p>\n<p><em>*<\/em> Cant add this comment for some reason? But here we go:<\/p>\n<p>Hi there,thank you for your fast responses. I have tried restarting my router and mail.app to no avail. Apologies &#8211; an error in my copy\/pasting, the port for IMAP is 993. I just tried your terminal command and got the following: imap.gmail.com: nodename nor servname provided, or not known. I just tried adding my gmail acc. on my sisters iPhone 5 and got the following: Unable to connect to SSL, would you like to try and connect without SSL? (Yes) and got this: The IMAP server &#8216;imap.gmail.com&#8217;is not responding. Check your network connection and that you entered the correct information in the &#8216;incoming mail server&#8217; field. Im sorry, I dont know what a VPN is.<\/p>\n<p>Also, All of a sudden BOTH accounts just came back online and updated with new mails etc. I&#8217;ve &#8216;essentially&#8217; not changed anything. I reset the app and the router well over 20 minutes ago prior to this. You&#8217;d think changes would be instant if that was the fix?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My Mac Mail has just started going on the fritz. I have a gmail account linked to mail and also a hotmail account. Both have warning signs and I cannot send or receive mail. They were both fine yesterday. I have not updated or changed anything. I am running OS X 10.8.2 and Mail Version [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7107","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7107"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7107\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}