{"id":4579,"date":"2014-04-22T13:38:26","date_gmt":"2014-04-22T11:38:26","guid":{"rendered":"http:\/\/www.limilabs.com\/blog\/?p=4579"},"modified":"2014-04-22T13:47:50","modified_gmt":"2014-04-22T11:47:50","slug":"icloud-imap-and-smtp-settings","status":"publish","type":"post","link":"https:\/\/www.limilabs.com\/blog\/icloud-imap-and-smtp-settings","title":{"rendered":"iCloud: IMAP and SMTP settings"},"content":{"rendered":"<p>iCloud supports access via IMAP and SMTP protocols, POP3 is not supported. Below you can find the configuration settings for those protocols.<\/p>\n<p>Both (IMAP and SMTP) use implicit SSL (use <em>ConnectSSL<\/em> method) and explicit SSL (you can use <em>Connect<\/em> method and then secure the channel using <em>StartTLS<\/em> method)<\/p>\n<h2>IMAP<\/h2>\n<p>Server: <strong>imap.mail.me.com<\/strong><br \/>\nSSL: <strong>true-implicit<\/strong><br \/>\nPort: <strong>993<\/strong> (default)<br \/>\nUser: pat (not pat@icloud.com)<\/p>\n<h2>SMTP<\/h2>\n<p>Server: <strong>smtp.mail.me.com<\/strong><br \/>\nSSL: <strong>true-explicit<\/strong><br \/>\nPort: <strong>587<\/strong> (default)<br \/>\nUser: pat@icloud.com (not pat)<\/p>\n<p>Following are the code samples for Mail.dll <a href=\"\/mail\">.NET IMAP, POP3 and SMTP component<\/a>.<\/p>\n<pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\r\n\/\/ C#\r\n\r\nusing (Imap client = new Imap())\r\n{\r\n    client.ConnectSSL(&quot;imap.mail.me.com&quot;);\r\n    client.UseBestLogin(&quot;pat&quot;, &quot;password&quot;);\r\n    ...\r\n}\r\n\r\nusing (Smtp client = new Smtp ())\r\n{\r\n    client.Connect(&quot;smtp.mail.me.com&quot;);\r\n    client.StartTLS();\r\n    client.UseBestLogin(&quot;pat@icloud.com&quot;, &quot;password&quot;);\r\n    ...\r\n}\r\n<\/pre>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\n' VB.NET\r\n\r\nUsing client As New Imap()\r\n\tclient.ConnectSSL(&quot;imap.mail.me.com&quot;)\r\n\tclient.UseBestLogin(&quot;pat&quot;, &quot;password&quot;)\r\n\t...\r\nEnd Using\r\n\r\nUsing client As New Smtp()\r\n\tclient.Connect(&quot;smtp.mail.me.com&quot;)\r\n\tclient.StartTLS()\r\n\tclient.UseBestLogin(&quot;pat@icloud.com&quot;, &quot;password&quot;)\r\n\t...\r\nEnd Using\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>iCloud supports access via IMAP and SMTP protocols, POP3 is not supported. Below you can find the configuration settings for those protocols. Both (IMAP and SMTP) use implicit SSL (use ConnectSSL method) and explicit SSL (you can use Connect method and then secure the channel using StartTLS method) IMAP Server: imap.mail.me.com SSL: true-implicit Port: 993 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[101,28,90,50],"class_list":["post-4579","post","type-post","status-publish","format-standard","hentry","category-mail-dll","tag-icloud","tag-imap","tag-settings","tag-smtp"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/4579"}],"collection":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/comments?post=4579"}],"version-history":[{"count":3,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/4579\/revisions"}],"predecessor-version":[{"id":4584,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/posts\/4579\/revisions\/4584"}],"wp:attachment":[{"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/media?parent=4579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/categories?post=4579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.limilabs.com\/blog\/wp-json\/wp\/v2\/tags?post=4579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}