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