Sunday, August 26, 2012

Php Mail script example

$extra = $_REQUEST['xtrainfo']
$to = $_REQUEST['target'];
$subject = "Reports";
$message = $_REQUEST['msg'];
$from = "admin@nsfive.net";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Report Sent.";
?>

from www.nsfive.net

No comments:

tags

Friend Connect