<?php
$to = "info@webteksolutions.co.uk,saliya@webteksolutions.co.uk";
$subject = "office 365 Events Registration Form";
$title = $_REQUEST['title'] ;
$fname = $_REQUEST['firstname'] ;
$lname = $_REQUEST['lastname'] ;
$email = $_REQUEST['email'] ;
$jobtitle = $_REQUEST['jobtitle'] ;
$company = $_REQUEST['company'] ;
$adress = $_REQUEST['address'] ;
$addres1 = $_REQUEST['addres1'];
$towncity = $_REQUEST['towncity'];
$county = $_REQUEST['county'];
$postcode = $_REQUEST['postcode'];
$country = $_REQUEST['country'];
$telephone = $_REQUEST['telephone'];
$fax = $_REQUEST['fax'];
$headers = "From:".$fname;
$headerss = "From:office-365-Events";
$send_contact=mail($to,$subject,"User Information Contact Information\n\nTitle : $title\n\nFirst Name : $fname\n\nLast Name : $lname\n\nEmail : $email\n\nJob title : $jobtitle\n\nCompany : $company\n\n Address : $adress\n\nAddress2 : $addres1\n\nTown\City : $towncity\n\nCounty : $county\n\nPostCode : $postcode\n\nCountry : $country\n\nTelephone : $telephone\n\nFax : $fax",$headers)
&& mail($email,$subject,"Dear $title $lname,\n\nWe are pleased to confirm that you have been registered for the following Webtek event.\n
Microsoft Office 365 Seminar\n
Date : 8th of September 2011 \n
Venue : Pinkney's Green Cricket Club, Pinkneys Drive, Maidenhead, Berkshire, SL6 6QE\n
Time : 6.30pm to 8.15pm\n
Price : Free!\n
Please find below the map to the venue.\n
http://maps.google.co.uk/maps?q=Maidenhead+SL6+6QE&hl=en&sll=52.133488,-0.615234&sspn=12.423902,42.84668&z=15\n\n
If you have any queries about the event or if you cannot make it to the event, please feel free to contact Sal on saliya@webteksolutions.co.uk or call our events hotline on 07969644782.\n
Kind regards,\n
The Webtek Events team",$headerss);
if($send_contact)
{
echo "<p>You are now registered for the following Webtek event. A confirmation email has been sent to the email address that you have</p><p> provided during registration.We Hope to see you at the event.</p>";
}
else
{
echo "Error.";
}
?>
$to = "info@webteksolutions.co.uk,saliya@webteksolutions.co.uk";
$subject = "office 365 Events Registration Form";
$title = $_REQUEST['title'] ;
$fname = $_REQUEST['firstname'] ;
$lname = $_REQUEST['lastname'] ;
$email = $_REQUEST['email'] ;
$jobtitle = $_REQUEST['jobtitle'] ;
$company = $_REQUEST['company'] ;
$adress = $_REQUEST['address'] ;
$addres1 = $_REQUEST['addres1'];
$towncity = $_REQUEST['towncity'];
$county = $_REQUEST['county'];
$postcode = $_REQUEST['postcode'];
$country = $_REQUEST['country'];
$telephone = $_REQUEST['telephone'];
$fax = $_REQUEST['fax'];
$headers = "From:".$fname;
$headerss = "From:office-365-Events";
$send_contact=mail($to,$subject,"User Information Contact Information\n\nTitle : $title\n\nFirst Name : $fname\n\nLast Name : $lname\n\nEmail : $email\n\nJob title : $jobtitle\n\nCompany : $company\n\n Address : $adress\n\nAddress2 : $addres1\n\nTown\City : $towncity\n\nCounty : $county\n\nPostCode : $postcode\n\nCountry : $country\n\nTelephone : $telephone\n\nFax : $fax",$headers)
&& mail($email,$subject,"Dear $title $lname,\n\nWe are pleased to confirm that you have been registered for the following Webtek event.\n
Microsoft Office 365 Seminar\n
Date : 8th of September 2011 \n
Venue : Pinkney's Green Cricket Club, Pinkneys Drive, Maidenhead, Berkshire, SL6 6QE\n
Time : 6.30pm to 8.15pm\n
Price : Free!\n
Please find below the map to the venue.\n
http://maps.google.co.uk/maps?q=Maidenhead+SL6+6QE&hl=en&sll=52.133488,-0.615234&sspn=12.423902,42.84668&z=15\n\n
If you have any queries about the event or if you cannot make it to the event, please feel free to contact Sal on saliya@webteksolutions.co.uk or call our events hotline on 07969644782.\n
Kind regards,\n
The Webtek Events team",$headerss);
if($send_contact)
{
echo "<p>You are now registered for the following Webtek event. A confirmation email has been sent to the email address that you have</p><p> provided during registration.We Hope to see you at the event.</p>";
}
else
{
echo "Error.";
}
?>
No comments:
Post a Comment