<% session_start(); if($REQUEST_METHOD=="POST") { if (trim($name)!="" && trim($email)!="" && trim($message)!=""){ $sentDate = date("l, F j, Y g:i A",mktime()); // Example: Monday, March 15, 2004 9:15 AM if($type=="Sales and Administration"){ $toName ="Paul Thususka"; $toEmail="am@vianet.ca"; }elseif($type=="Employment Inquiries"){ $toName ="Chris Hendsbee"; $toEmail="am1@vianet.ca"; }elseif($type=="General Inquiries"){ $toName ="Paul Thususka"; $toEmail="am1@vianet.ca"; }elseif($type=="Job Fairs and School Visits"){ $toName ="Chris Hendsbee"; $toEmail="am@vianet.ca"; } if (!trim($subject)) $subject = "A & M Reforestation/ $type"; if($magic_quotes_config) { $subject = stripslashes($subject); $email = stripslashes($email); $name = stripslashes($name); $message = stripslashes($message); } // send the email $MsgContent = "

The following email was send through the amreforestation.com contact form.

From: $name [$email]
To: $toName [$toEmail]
Sent: $sentDate
Subject: $subject

$message

  "; include("emailMessageStyles.php"); include("message.php"); include("cEmailer.class"); $Emailer = new cEmailer("mail.dialysistechs.com"); // Create a cEmailerBody object for the image that will be embedded into the HTML message. $imgPath= "../images/contact/A&M Logo_small.jpg"; $ImgBody1 = $Emailer->CreateAttachmentBody("$imgPath", false); $imageCID = "cid:".$ImgBody1->GetContentID(); $HTMLMessage = str_replace("logo.jpg", $imageCID, $HTMLMessage); // Create a cEmailerBody object for the HTML portion of the email $HTMLBody = new cEmailerBody(); $HTMLBody->SetDataType("text/html", "quoted-printable"); $HTMLBody->AddData($HTMLMessage); // Create a cEmailerBody object to serve as the multipart body // that will bind the HTML document and the image together. $HTMLMultipartBody = new cEmailerBody(); $HTMLMultipartBody->SetDataType("multipart/related"); $HTMLMultipartBody->AddData($HTMLBody); $HTMLMultipartBody->AddData($ImgBody1); // Create a cEmailerBody object to serve as the multipart body that will bind // the plain text and the html bodies together. $MultipartBody = new cEmailerBody(); $MultipartBody->SetDataType("multipart/alternative"); $MultipartBody->AddData($HTMLMultipartBody); // Add the message body to the cEmailer object $Emailer->SetBody($MultipartBody); // Specify the recepient $Emailer->AddRecipient($toName, $toEmail); // Specify the name and email address for the SENDER $Emailer->SetSender($name, $email); // Set subject $Emailer->SetSubject("$subject"); // Send the email. $Emailer->Send(); header( "Location:confirmation.php?type=".urlencode($type)); exit; } else{ $err = 1; if($magic_quotes_config) { $subject = stripslashes($subject); $email = stripslashes($email); $name = stripslashes($name); $message = stripslashes($message); } } } %> Contact Us

<% include("../Navigation/toppic_nav.htm"); %>

                                   Profile  |  Clients  |  Planters  |  Training  |  Employment  |  Contact  |  Home                   

<% include("../Navigation/top_bar.htm"); %>

 

Contact US


120 Larch St.
Sudbury, Ontario
P3E 1C2

Tel: (705) 674-5231
Fax: (705) 675-7461






 


 

We welcome your feedback

<% if ($err){ %>
Please complete the entire form to continue.
Your message was not sent.
<% } %>

What does your message concern?
>Sales and Administration
>Employment Inquiries
>General Inquiries
checked >Job Fairs and Schools Visits
 

Your Name:

 

Your Email:

Subject:

Message:

If you would prefer a more personalize email directed to a specific A&M Reforestation Representative,
please use one of the following addresses:
  • paul@amreforestation.com
  • chris@amreforestation.com
 

This website is designed and hosted by JEP Systems
Click here to contact JEP Systems

<% include("../Navigation/JEP/JEP.htm")%>