|
|
$user = "ijtent";
$domain = "gmail.com";
$addr = $user.'@'.$domain;
$toemail=$addr;
if($_POST['Submit'])
{
$text=$_POST['message'];
$subject=$_POST['subject'];
$frommail=$_POST['frommail'];
// print on screen
echo " Thanks for contacting us! We get back to you ASAP. [MCParking Home]";
mail("$toemail","$subject","$text","From: $frommail");
// confirmation email to customer
$textautoreply="Thanks for contacting us! We get back to you ASAP.";
$subjectconfirm="Re: $subject";
mail("$frommail","$subjectconfirm","$textautoreply","From: $toemail");
} else {
$msg="Contact the Scooter/Motorcycle Rally Organizers if you can help or you can donate . . .".
" |