__destruct()
_send()
_send_email()
smtp_authenticate()
smtp_connect()
smtp_disconnect()
smtp_get_response()
smtp_send()
$smtp_connection
__destruct()
_send() : bool
bool
success boolean_send_email() : bool
bool
success booleansmtp_authenticate()
smtp_connect()
smtp_disconnect()
smtp_get_response() : string
\SmtpTimeoutException |
---|
string
SMTP responsesmtp_send(string $data, string | bool | string $expecting, bool $return_number) : mixed
string
The SMTP command
string
bool
string
The expected response
bool
Set to true to return the status number
\SmtpCommandFailureException |
When the command failed an expecting is not set to false. |
---|---|
\SmtpTimeoutException |
SMTP connection timed out |
mixed
Result or result number, false when expecting is false$smtp_connection