Problem connecting to POP3 accounts
| From: | Alec Wallis | Date: | Thu, 03 Apr 2003 17:34:31 +0000 |
| Subject: | Problem connecting to POP3 accounts | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142186@lists.php.net to get a copy of this message | ||
Hi
I am currently experiencing some problems connecting to POP3 accounts using imap_open.
I am using the following code:
$ArrayImap = imap_open ($strMailServer, $strUsername, $strPassword);
with the mail server being set to:
$strMailServer = "{domain.co.uk/pop3:110}INBOX";
It seems to connect ok, as if an incorrect username or password is entered incorrectly something
different happens. The error message I seem to get is:
Notice: (null)(): Mailbox is empty (errflg=1) in Unknown on line 0
PHP Notice: (null)(): Mailbox is empty (errflg=1) in Unknown on line 0
When I view the mailbox in Outlook it has messages in it and so isn't empty. Can anyone help
me please?
Alec