Summery Summery
Send mail via SMTP.
Syntax Syntax
Description Description
Returns false if there is a bad MAIL FROM, RCPT, or DATA input. Uses the PHPMailerSMTP class by default.
Parameters Parameters
- $header
-
(Required) The message headers
- $body
-
(Required) The message body
Return Return
(boolean)
Source Source
File: wp-includes/class-phpmailer.php
Advertisement
See also See also
- PHPMailer::getSMTPInstance(): to use a different class.