Class to provide SMTP functionality using PEAR Net_SMTP
| package |
Framework |
|---|---|
| subpackage |
|
| author |
Thomas Bruederli roundcube@gmail.com |
| author |
Aleksander Machniak alec@alec.pl |
_parse_rfc822( $recipients) : array
arrayAn array of forward paths (bare addresses).
_prepare_headers(array $headers) : mixed
arrayThe array of headers to prepare, in an associative array, where the array key is the header name (ie, 'Subject'), and the array value is the header value (ie, 'test'). The header produced from those values would be 'Subject: test'.
mixedReturns false if it encounters a bad address, otherwise returns an array containing two elements: Any From: address found in the headers, and the plain text version of the headers.
connect( $host = null, $port = null, $user = null, $pass = null) : boolean
booleanReturns true on success, or false on error
debug_handler( &$smtp, $message)
disconnect()
get_error()
get_response()
reset()
send_mail( $from, $recipients, &$headers, &$body, $opts = null) : boolean
booleanReturns true on success, or false on error
SMTP_MIME_CRLF
DEBUG_LINE_LENGTH
conn :
response :
error :
anonymize_log :