Parameters

Parameter | Details |

——— | —–– |

string $to | The recipient email address |string $subject | The subject line |string $message | The body of the email |string $additional_headers | Optional: headers to add to the email |string $additional_parameters | Optional: arguments to pass to the configured mail send application in the command line |

Remarks

E-Mail I’m sending through my script never arrives. What should I do?

The E-Mail I’m sending is getting filtered as spam. What should I do?

Never use sender addresses like [email protected]. Use reply-to if you need replies to arrive at a different address.