View Single Post
Old 03-13-2008, 08:00 AM  
AndrewKanuck
Confirmed User
 
Join Date: Jan 2004
Location: Cleveland & Atlanta
Posts: 6,706
Should be easy enough to do - just find the variables and create your headers and use mail() - headers should be something like:

// Create Headers.
$strHeaders ="MIME-Version: 1.0\r\n";
$strHeaders .="From: You <you@domain>\n";
$strHeaders .="To: ".$_POST["txtName"]." <".$_POST["txtEmail"].">\n";
$strHeaders .="Reply-To: You <you@domain>\n";
$strHeaders .="Content-type: text/html\n";
$strHeaders .="X-Priority: 1\n";
$strHeaders .="X-MSMail-Priority: High\n";
$strHeaders .="X-Mailer: Company\n";

then send it with:

mail($_POST["txtEmail"], "Subject", $strEmailBody, $strHeaders);

This assumes a few things, but it should be sudo enough for you to alter.
__________________
AndrewKanuck is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote