Re: imap_open failure
| From: | Lars Olsson | Date: | Tue, 14 Jan 2003 09:41:23 +0000 |
| Subject: | Re: imap_open failure | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131527@lists.php.net to get a copy of this message | ||
Hi!
Shouldn't it be:
$pop_inbox = imap_open("{$mailserver:110/pop3}INBOX", $login, $password);
(as on http://www.php.net/manual/en/function.imap-open.php)
Kindly
/Lars Olsson (lasso@lassoweb.nu)
Jeff Schwartz wrote:
I'm using imap_open in PHP 4.3.0 to successfully access every pop server I've tried - except 1: "mail.fea.net". I know the mail server, port, login, and password are correct because I can successfully log into the pop server with both telnet and Outlook. Here's the code: if ($pop_inbox = imap_open("{".$mailserver."/$mailbox_type:$port/notls}",$login,$password)): I've tried every variation of the code, such as using "notls" or not. In any event, I know the code works because I can log into every other pop server I've tried. imap_last_error() returns: Can not authenticate to POP3 server Has anyone else run into this? Is there a way to see more about the interaction between imap_open and the pop server? Jeff --------------------------------- Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now