RE: [PHP] Problem connecting to POP3 accounts

From: Date: Thu, 03 Apr 2003 19:53:56 +0000
Subject: RE: [PHP] Problem connecting to POP3 accounts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-142187@lists.php.net to get a copy of this message
Try: $strMailServer = "{domain.co.uk:110/pop3}INBOX"; As per the manual. HTH Danny. -----Original Message----- From: Alec Wallis [mailto:axw00u@cs.nott.ac.uk] Sent: 03 April 2003 18:35 To: php-general@lists.php.net 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

« previous php.general (#142187) next »