PHP email script

SAMPLE EMAIL PHP SCRIPT

Sending email from a PHP scrip
$email = '*******@gmail.com';
$subject = "Test Subject";
$message = "

Thank you for registering

Your account is created and must be activated before you can use it.";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: DONOTREPLY ' . "\r\n";
mail($email, $subject, $message, $headers);
echo "mail sent";

Share this

Related Posts

Previous
Next Post »

1 comments:

comments
28 March 2018 at 22:49 delete

It is very informative post. Thanks for sharing.

Popup builder Plugin Free Download

Reply
avatar

Pageviews from the past week