+1 vote

I try to connect to icloud mail (imap server - imap.mail.me.com) and login - apple account, but can not access (autherisation error). But I can access it through web. Maybe you could help.

by

1 Answer

0 votes
 
Best answer

icloud supports IMAP and SMTP, it doesn't support POP3.

Remember to use SSL:

imap.ConnectSSL("imap.mail.me.com");

Remember to use only the name part of your iCloud email address only.
For example, emilyparker, not emilyparker@icloud.com:

imap.UseBestLogin("emilyparker", "password");
by (301k points)
...