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 |
None found |
popBeforeSmtp( $host, integer|boolean $port = false, integer|boolean $timeout = false, string $username = '', string $password = '', integer $debug_level) : boolean
Simple static wrapper for all-in-one POP before SMTP
$host | ||
integer|boolean | $port | The port number to connect to |
integer|boolean | $timeout | The timeout value |
string | $username | |
string | $password | |
integer | $debug_level |
None found |
authorise(string $host, integer|boolean $port = false, integer|boolean $timeout = 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 | The hostname to connect to |
integer|boolean | $port | The port number to connect to |
integer|boolean | $timeout | The timeout value |
string | $username | |
string | $password | |
integer | $debug_level |
None found |
connect(string $host, integer|boolean $port = false, integer $tval = 30) : boolean
Connect to a POP3 server.
string | $host | |
integer|boolean | $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 |
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 |
setError( $error)
Add an error to the internal error store.
Also display debug output if it's enabled.
$error |
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 |