-
Contact Us
".$txtName." has request to contact with them providing the following information:
======================================================================================================
Name: ".$txtName."
Email: ".$txtEmail."
Subject: ".$txtSubject."
Address: ".$txtAddress."
City: ".$txtCity."
State: ".$txtState."
Zip-code: ".$txtZip."
Comments: ".$txtComments."
======================================================================================================
Thank you.
";
$mail = new PHPMailer();
$mail->ClearAddresses();
$mail->ClearBCCs();
$mail->ClearCCs();
$mail->ClearAttachments();
$mail->AddAddress($to);
$mail->Subject = $txtSubject;
$mail->Body = $body;
$mail->From = $txtEmail;
$mail->FromName = $txtName;
$mail->IsHTML(true);
$mail->Mailer="mail"; //smtp
//print_r($mail);
if($mail->send()) {
$msg= " Thank you. Your message has been sent successfully.
" ;
}
else
$msg = 'Unable to send the mail. Please try again later.';
}
?>
Daniel DeMarco and Associates Inc., Amity Wood Industries
25 Greene Avenue, Amityville, NY, 11701 631-598-7000 phone 631-598-1140 fax