WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Авторские Темы для WordPress
функция не описана


SMTP::sendAndMail() public WP 1.0

Send an SMTP SAML command. 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 <SP> FROM:<reverse-path> <CRLF>.

{} Это метод класса: SMTP{}

Хуков нет.




$SMTP = new SMTP();
$SMTP->sendAndMail( $from );
$from(строка) (обязательный)
The address the message is from

Код SMTP::sendAndMail() WP 5.7.2

public function sendAndMail($from)
    return $this->sendCommand('SAML', "SAML FROM:$from", 250);