<?php
$to = "[email protected]"; // send mail
$subject = "dummy test"; // mail subject`
$body = "Body of your message here you can use HTML too. ";
$headers = "From: [email protected]\r\n";// mail from
$headers .= "Reply-To: [email protected]\r\n";
$headers .= "Return-Path: [email protected]\r\n";
$headers .= "X-Mailer: PHP5\n";
$headers .= 'MIME-Version: 1.0' . "\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
mail($to,$subject,$body,$headers);
?>Send mail using php
