Zeile 202 | Zeile 202 |
---|
/** * 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 359 |
---|
/** * 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 460 |
---|
/** * 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 497 |
---|
/** * 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 543 |
---|
/** * 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) {
|