Private Access Private Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Summery Summery
Call mail() in a safe_mode-aware fashion.
Syntax Syntax
Description Description
Also, unless sendmail_path points to sendmail (or something that claims to be sendmail), don’t pass params (not a perfect fix, but it will do)
Parameters Parameters
- $to
-
(Required) To
- $subject
-
(Required) Subject
- $body
-
(Required) Message Body
- $header
-
(Required) Additional Header(s)
- $params
-
(Required) Params
Return Return
(boolean)
Source Source
File: wp-includes/class-phpmailer.php