POP3POP Before SMTP Authentication Class Version 5.0.0
Author: Richard Davey (rich@corephp.co.uk) Modifications: Andy Prevost License: LGPL, see PHPMailer License
Specifically for PHPMailer to allow POP before SMTP authentication. Does not yet work with APOP - if you have an APOP account, contact Richard Davey and we can test changes to this script.
This class is based on the structure of the SMTP class originally authored by Chris Ryan
This class is rfc 1939 compliant and implements all the commands required for POP3 connection, authentication and disconnection.
Located in /libs/PHPMailer/class.pop3.php (line 62)
void
Authorise
(string $host, [integer $port = false], [integer $tval = false], string $username, string $password, [ $debug_level = 0])
string
$CRLF
= "\r\n" (line 79)
POP3 Carriage Return + Line Feed
int
$do_debug
= 2 (line 85)
Displaying Debug warnings? (0 = now, 1+ = yes)
string
$host
(line 91)
POP3 Mail Server
string
$password
(line 115)
POP3 Password
int
$POP3_PORT
= 110 (line 67)
Default POP3 port
int
$POP3_TIMEOUT
= 30 (line 73)
Default Timeout
int
$port
(line 97)
POP3 Port
int
$tval
(line 103)
POP3 Timeout Value
string
$username
(line 109)
POP3 Username
Combination of public events - connect, login, disconnect
Connect to the POP3 server
Login to the POP3 server (does not support APOP yet)
Documentation generated on Sun, 04 Apr 2010 22:43:37 +0200 by phpDocumentor 1.4.1