#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    218
    Rep Power
    0

    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.

    https://gist.github.com/davidsalazar...94de1f1d743dfa

    This is the error I'm getting. http://dev.davidsalazar.com/php-imap/imap.php
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    830
    Rep Power
    275
    I don't have an icloud or me.com acct. , but, have you tried adding the /novalidate-cert option?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    218
    Rep Power
    0
    Originally Posted by DonR
    I don't have an icloud or me.com acct. , but, have you tried adding the /novalidate-cert option?
    I did try that, and if it was that issue I would get a connection error not an authentication error.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    218
    Rep Power
    0
    I'm an idiot. Apparantly it's not your email address as your username, it's your username minus the tld...Sorry everyone.

IMN logo majestic logo threadwatch logo seochat tools logo