$mailer
$mailer :
Mailer Class
mail(string $to, string $subject, mixed $message, mixed $headers = '', mixed $attachments = array()) : mixed
Borrowed from WordPress
Send mail, similar to PHP's mail A true return value does not automatically mean that the user received the email successfully. It just only means that the method used was able to process the request without any errors.
string | $to | Array or comma-separated list of email addresses to send message. |
string | $subject | Subject of the email. |
mixed | $message | The body of the email. |
mixed | $headers | Email headers sent. |
mixed | $attachments | Attachments to be sent with the email. |