SMTP::sendAndMail

SummerySummery

Send an SMTP SAML command.

Syntax

SMTP::sendAndMail( string $from )

DescriptionDescription

Starts a mail transaction from the email address specified in $from. Returns true if successful or false otherwise. If True the mail transaction is started and then one or more recipient commands may be called followed by a data command. This command will send the message to the users terminal if they are logged in and send them an email. Implements rfc 821: SAML FROM:

ParametersParameters

$from

(string) (Required) The address the message is from

ReturnReturn

(boolean)

SourceSource

File: wp-includes/class-smtp.php


			
Scroll to Top