March 18th, 2013, 12:14 AM
Connecting to icloud email with imap
So I'm trying to build something for myself and it requires me to pull email from my email addresses. I've been successful in connecting to gmail's imap server but I've failed to connect to icloud's. I keep getting authentication failed. I'm assuming it's something to do with my connection stream. Can someone take a look at this and see if they are able to manipulate the code to connect to their icloud.com or me.com email address.
This is the error I'm getting. http://dev.davidsalazar.com/php-imap/imap.php
March 18th, 2013, 01:57 AM
I don't have an icloud or me.com acct. , but, have you tried adding the /novalidate-cert option?
March 18th, 2013, 03:21 AM
I did try that, and if it was that issue I would get a connection error not an authentication error.
Originally Posted by DonR
March 19th, 2013, 05:02 PM
I'm an idiot. Apparantly it's not your email address as your username, it's your username minus the tld...Sorry everyone.