[ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 348 lignes (12 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Mail_smtp:: (5 méthodes):
Mail_smtp()
_Mail_smtp()
send()
disconnect()
_error()
Mail_smtp($params) X-Ref |
Constructor. Instantiates a new Mail_smtp:: object based on the parameters passed in. It looks for the following parameters: host The server to connect to. Defaults to localhost. port The port to connect to. Defaults to 25. auth SMTP authentication. Defaults to none. username The username to use for SMTP auth. No default. password The password to use for SMTP auth. No default. localhost The local hostname / domain. Defaults to localhost. timeout The SMTP connection timeout. Defaults to none. verp Whether to use VERP or not. Defaults to false. debug Activate SMTP debug mode? Defaults to false. persist Should the SMTP connection persist? If a parameter is present in the $params array, it replaces the default. param: array Hash containing any parameters different from the |
_Mail_smtp() X-Ref |
Destructor implementation to ensure that we disconnect from any potentially-alive persistent SMTP connections. |
send($recipients, $headers, $body) X-Ref |
Implements Mail::send() function using SMTP. param: mixed $recipients Either a comma-seperated list of recipients param: array $headers The array of headers to send with the mail, in an param: string $body The full text of the message body, including any return: mixed Returns true on success, or a PEAR_Error |
disconnect() X-Ref |
Disconnect and destroy the current SMTP connection. return: boolean True if the SMTP connection no longer exists. |
_error($text, &$error) X-Ref |
Build a standardized string describing the current SMTP error. param: string $text Custom string describing the error context. param: object $error Reference to the current PEAR_Error object. return: string A string describing the current SMTP error. |
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |