mail()
mail(string $to, string $subject, mixed $message, mixed $headers = '', mixed $attachments = array()) : mixed
Send mail, similar to PHP's mail function.
Parameters
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. |