Summery Summery

Send an SMTP MAIL command.

Syntax Syntax

SMTP::mail( string $from )

Description Description

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. Implements rfc 821: MAIL FROM:

Parameters Parameters


(string) (Required) Source address of this message

Return Return


Source Source

File: wp-includes/class-smtp.php




Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.