abazoskib Posted September 17, 2009 Share Posted September 17, 2009 So far I've tried Yahoo and Hotmail without luck. I am using an imap_open wrapper I made, but its pretty obvious how it works, in comparison to imap_open. Here the code I am using for hotmail: try { $account = new Email("pop3.live.com",110,'/pop3/notls','emailaddress','pass'); if($account) { $emails = $account->readMessages(); $account->close(); } } catch (Exception $e) { echo $e; } print_r($emails); Anyone ever get this right? I could use a bump in the right direction. I want to eventually build an email reader for all major ISPs(AOL, Hotmail,Yahoo) because I have too much mail to go through, and I can build my own filters. Main goal would be to store the messages in my personal db for review, without the junk mail, without having to log in ever again, and never wait on loading times for the page. Here's the error I get: PHP Warning: imap_open(): Couldn't open stream {pop3.live.com:995/pop3/notls}INBO PHP Notice: Unknown: Connection failed to pop3.live.com,995: Connection timed out (errflg=2) in Unknown on line 0 Link to comment https://forums.phpfreaks.com/topic/174635-reading-mail-with-imap_open/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.