Thursday 9 October 2014

How to send e-mail messages using PHP?

<?php
    mail("recipient@example.com",
        "This is the message subject",
        "This is the message body",
        "From: sender@example.com" . "\r\n" . "Content-Type: text/plain; charset=utf-8",
        "-fsender@example.com");
?>

No comments:

Post a Comment