CRLF
CRLF = "\r\n"
Line break constant
PHPMailer POP-Before-SMTP Authentication Class.
Specifically for PHPMailer to use for RFC1939 POP-before-SMTP authentication. Does not support APOP.
None found |
popBeforeSmtp( $host, boolean $port = false, boolean $tval = false, string $username = '', string $password = '', integer $debug_level) : boolean
Simple static wrapper for all-in-one POP before SMTP
$host | ||
boolean | $port | |
boolean | $tval | |
string | $username | |
string | $password | |
integer | $debug_level |
None found |
authorise(string $host, boolean|integer $port = false, boolean|integer $tval = false, string $username = '', string $password = '', integer $debug_level) : boolean
Authenticate with a POP3 server.
A connect, login, disconnect sequence appropriate for POP-before SMTP authorisation.
string | $host | |
boolean|integer | $port | |
boolean|integer | $tval | |
string | $username | |
string | $password | |
integer | $debug_level |
None found |
connect(string $host, boolean|integer $port = false, integer $tval = 30) : boolean
Connect to a POP3 server.
string | $host | |
boolean|integer | $port | |
integer | $tval |
None found |
login(string $username = '', string $password = '') : boolean
Log in to the POP3 server.
Does not support APOP (RFC 2828, 4949).
string | $username | |
string | $password |
None found |
None found |
getResponse(integer $size = 128) : string
Get a response from the POP3 server.
$size is the maximum number of bytes to retrieve
integer | $size |
None found |
sendString(string $string) : integer
Send raw data to the POP3 server.
string | $string |
None found |
checkResponse(string $string) : boolean
Checks the POP3 server response.
Looks for for +OK or -ERR.
string | $string |
None found |
None found |
catchWarning(integer $errno, string $errstr, string $errfile, integer $errline)
POP3 connection error handler.
integer | $errno | |
string | $errstr | |
string | $errfile | |
integer | $errline |
None found |