archon Posted July 31, 2010 Share Posted July 31, 2010 Hi, I have a script that creates an email through cpanel, that part works. But i am getting error reading the email. Warning: imap_open() [function.imap-open]: Couldn't open stream {mail.spamarchon.com:143} in /home/spamarch/public_html/index.php on line 71 here is the code: $mbox = imap_open("{mail.$edomain:143}", "$euser@$edomain", "$epass"); any idea Thanks Link to comment https://forums.phpfreaks.com/topic/209408-accessing-imap-mail-imap_open-problem/ Share on other sites More sharing options...
archon Posted July 31, 2010 Author Share Posted July 31, 2010 fixed it: $mbox = imap_open("{mail.$edomain:143/notls}", "$euser@$edomain", "$epass"); thanks anyway Link to comment https://forums.phpfreaks.com/topic/209408-accessing-imap-mail-imap_open-problem/#findComment-1093431 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.