[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
PHPMailer POP-Before-SMTP Authentication Class. PHP Version 5.5.
Author: | Marcus Bointon (Synchro/coolbru) |
Author: | Jim Jagielski (jimjag) |
Author: | Andy Prevost (codeworxtech) |
Author: | Brent R. Matzelle (original founder) |
Copyright: | 2012 - 2020 Marcus Bointon |
Copyright: | 2010 - 2012 Jim Jagielski |
Copyright: | 2004 - 2009 Andy Prevost |
License: | https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html GNU Lesser General Public License |
File Size: | 469 lines (12 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
POP3:: (11 methods):
popBeforeSmtp()
authorise()
connect()
login()
disconnect()
getResponse()
sendString()
checkResponse()
setError()
getErrors()
catchWarning()
popBeforeSmtp($host,$port = false,$timeout = false,$username = '',$password = '',$debug_level = 0) X-Ref |
Simple static wrapper for all-in-one POP before SMTP. return: bool param: string $host The hostname to connect to param: int|bool $port The port number to connect to param: int|bool $timeout The timeout value param: string $username param: string $password param: int $debug_level |
authorise($host, $port = false, $timeout = false, $username = '', $password = '', $debug_level = 0) X-Ref |
Authenticate with a POP3 server. A connect, login, disconnect sequence appropriate for POP-before SMTP authorisation. return: bool param: string $host The hostname to connect to param: int|bool $port The port number to connect to param: int|bool $timeout The timeout value param: string $username param: string $password param: int $debug_level |
connect($host, $port = false, $tval = 30) X-Ref |
Connect to a POP3 server. return: bool param: string $host param: int|bool $port param: int $tval |
login($username = '', $password = '') X-Ref |
Log in to the POP3 server. Does not support APOP (RFC 2828, 4949). return: bool param: string $username param: string $password |
disconnect() X-Ref |
Disconnect from the POP3 server. |
getResponse($size = 128) X-Ref |
Get a response from the POP3 server. return: string param: int $size The maximum number of bytes to retrieve |
sendString($string) X-Ref |
Send raw data to the POP3 server. return: int param: string $string |
checkResponse($string) X-Ref |
Checks the POP3 server response. Looks for for +OK or -ERR. return: bool param: string $string |
setError($error) X-Ref |
Add an error to the internal error store. Also display debug output if it's enabled. param: string $error |
getErrors() X-Ref |
Get an array of error messages, if any. return: array |
catchWarning($errno, $errstr, $errfile, $errline) X-Ref |
POP3 connection error handler. param: int $errno param: string $errstr param: string $errfile param: int $errline |
Generated : Wed Aug 13 08:20:01 2025 | Cross-referenced by PHPXref |