sayjoy Posted March 5, 2011 Share Posted March 5, 2011 Hi all, how do I read emails sent to an email account on my site such as [email protected]? Quote Link to comment https://forums.phpfreaks.com/topic/229627-reading-emails/ Share on other sites More sharing options...
trq Posted March 5, 2011 Share Posted March 5, 2011 One method would be to use the imap extension. http://php.net/imap Quote Link to comment https://forums.phpfreaks.com/topic/229627-reading-emails/#findComment-1183109 Share on other sites More sharing options...
sayjoy Posted March 5, 2011 Author Share Posted March 5, 2011 I tried something like: $imap = imap_open ("{localhost}INBOX","c_panel username here","password"); I got: Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost}INBOX in /home/nilaalum/public_html/admin/mails.php on line 10 Quote Link to comment https://forums.phpfreaks.com/topic/229627-reading-emails/#findComment-1183122 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.