PHPMailer::smtpSend

Advertisement

Summery Summery

Send mail via SMTP.

Syntax Syntax

PHPMailer::smtpSend( string $header, string $body )

Description Description

Returns false if there is a bad MAIL FROM, RCPT, or DATA input. Uses the PHPMailerSMTP class by default.

Parameters Parameters

$header

(string) (Required) The message headers

$body

(string) (Required) The message body

Return Return

(boolean)

Source Source

File: wp-includes/class-phpmailer.php


			

Advertisement

See also See also

Advertisement

Leave a Reply

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