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.
Call mail() in a safe_mode-aware fashion.
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)
(string) (Required) To
(string) (Required) Subject
(string) (Required) Message Body
(string) (Required) Additional Header(s)
(string) (Required) Params