Zeile 99 | Zeile 99 |
---|
* @var string */ public $host = '';
|
* @var string */ public $host = '';
|
/** * The last received response from the SMTP server. * * @var string */ public $data = '';
/** * The last received response code from the SMTP server. * * @var string */ public $code = 0;
| |
/** * The last received error message from the SMTP server.
| /** * The last received error message from the SMTP server.
|
Zeile 202 | Zeile 188 |
---|
/** * Sends the email. *
|
/** * Sends the email. *
|
* @return true/false whether or not the email got sent or not.
| * @return bool whether or not the email got sent or not.
|
*/ function send() {
| */ function send() {
|
Zeile 359 | Zeile 345 |
---|
/** * Authenticate against the SMTP server. *
|
/** * Authenticate against the SMTP server. *
|
* @param string A list of authentication methods supported by the server
| * @param string $auth_methods A list of authentication methods supported by the server
|
* @return boolean True on success */ function auth($auth_methods)
| * @return boolean True on success */ function auth($auth_methods)
|
Zeile 460 | Zeile 446 |
---|
/** * Send data through to the SMTP server. *
|
/** * Send data through to the SMTP server. *
|
* @param string The data to be sent * @param int The response code expected back from the server (if we have one)
| * @param string $data The data to be sent * @param int|bool $status_num The response code expected back from the server (if we have one)
|
* @return boolean True on success */ function send_data($data, $status_num = false)
| * @return boolean True on success */ function send_data($data, $status_num = false)
|
Zeile 497 | Zeile 483 |
---|
/** * Checks if the received status code matches the one we expect. *
|
/** * Checks if the received status code matches the one we expect. *
|
* @param int The status code we expected back from the server * @param boolean True if it matches
| * @param int $status_num The status code we expected back from the server * @return string|bool
|
*/ function check_status($status_num) {
| */ function check_status($status_num) {
|
Zeile 543 | Zeile 529 |
---|
/** * Set the last error message response from the SMTP server *
|
/** * Set the last error message response from the SMTP server *
|
* @param string The error message response
| * @param string $error The error message response
|
*/ function set_error($error) {
| */ function set_error($error) {
|