Anyone have any experience using imap_open to access pop3 accounts?
I want to create a webmail utility so that my user's can access their email. I create a pop3 account for them using the Control Panel, then they can log in and check their mail.
I am hung up on the username and password.
For example, in Control Panel I created a mail account called webmaster with some password.
To connect to the mailbox:
$inbox = @imap_open("{" . "mail.mydomain.com" . ":110/pop3}INBOX", $username, $passwd);
The error I get is
[0]: Username/Password Mismatch...
[1]: POP3 connection broken in response.
However, if for the username and password I use the username and password that I use to access Control Panel (the ones associated with my account) then it logs in just fine, however then I can't check for email for a specific user (such as webmaster, or admin, or abuse, etc).
Any suggestions?


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks