Has anyone managed to connect to iCloud Imap? If yes then how?
I tried this
imap.FullSSL := true;
imap.AutoTLS := true;
imap.Username:=aUsername; //abc@icloud.com and abc
imap.Password:=aPassword; // xxxxxx
imap.TargetHost:=aServer; // imap.mail.me.com
imap.TargetPort := '993';
imap.Timeout := 2000;