File: D:/web archive/conferencesearch (old) (to delete)/old/conference-enquiry-form-email.asp
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Conference Organisers UK - Conference Search</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" media="print" href="cslprint.css" />
<style type="text/css" media="screen">@import url(csl.css);</style>
<meta name="description" content="Conference Search are organisers of conferences - providing a free venue finding service for training courses, activity & incentive team building events.">
<meta name="keywords" content="conference Search organisers UK free venue finding service event management delegate registration services incentive events team building training courses">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_validateForm() { //v4.0
var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
if (val) { nm=val.name; if ((val=val.value)!="") {
if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
} else if (test!='R') { num = parseFloat(val);
if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
min=test.substring(8,p); max=test.substring(p+1);
if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
} } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
} if (errors) alert('The following error(s) occurred:\n'+errors);
document.MM_returnValue = (errors == '');
}
//-->
</script>
</head>
</head>
<body>
<a href="http://conferencesearch.co.uk" title="Conference Search logo - click to return to homepage" class="logolink">Conference Search - Conference Organisers<div id="logo"></div></a>
<div id="left-img-01"></div>
<div id="left-img-02"></div>
<div id="printlogo"><img src="images/logo2.gif" width="141" height="78" title="Conference Search logo" alt="Conference search"></div>
<div id="content">
<table width="757" height="118" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="182" rowspan="2"></td>
<td colspan="2" class="dot-line"><h1>Thank you for your enquiry</h1></td>
</tr>
<tr>
<td width="358" valign="top" class="text"> <br> <br>
We will get back to you shortly. <br>
<br>
<%
' (SS,27/11/03) Added check for Telephone to stop blank emails being sent
' also changed "Title" to "JobTitle" and corrected "01FirstName" to "FirstName"
If Trim(Request.Form("Telephone")) <> "" Then
Dim NL
NL = Chr(13) + Chr(10) ' *** may be a better way?
' send the email using Dundas Mailer Control
Dim objEmail 'Mailer control
Set objEmail = Server.CreateObject("Dundas.Mailer")
objEmail.SMTPRelayServers.Add "mail.itpartnership.com"
'set Mailer control properties and collection items
objEmail.TOs.Add "alan@conferencesearch.co.uk"
objEmail.BCCs.Add "jeets@itpartnership.com"
objEmail.FromAddress = "webform@conferencesearch.co.uk"
objEmail.Subject = "Enquiry Booking Form"
objEmail.Body = "Date of Event : " + Request.Form("Date") & NL &_
"Start Time : " + Request.Form("StartTime") & NL &_
"Finish Time : " + Request.Form("FinishTime") & NL &_
"Numbers Attending : " + Request.Form("Attending") & NL &_
"Style of Seating : " + Request.Form("seating") & NL &_
"Equipment : " + Request.Form("equipment") & NL &_
"Set up Period : " + Request.Form("SetUpPeriod") & NL &_
"Lunch : " + Request.Form("Lunch") & NL &_
"Dinner : " + Request.Form("Dinner") & NL &_
"Tea and Coffee : " + Request.Form("ChkTea") & NL &_
"No. of Syndicate Rooms : " + Request.Form("SyndRoomsNo") & NL &_
"No. in each Syndicate Room : " + Request.Form("SyndRoomsEach") & NL &_
"Style of Seating in Syndicate Rooms: " + Request.Form("SyndRoomsSeating") & NL &_
"Exihibiton Space required : " + Request.Form("Exhspace") & NL &_
"Exihibiton Space Setup time : " + Request.Form("ExhSetup") & NL &_
"Accommodation : " + Request.Form("Accommodation") & NL &_
"Location : " + Request.Form("Location") & NL &_
"Venue type : " + Request.Form("chkCountryHouse") & NL &_
" : " + Request.Form("chkCityCentre") & NL &_
" : " + Request.Form("Grounds") & NL &_
" : " + Request.Form("chkMotorway") & NL &_
" : " + Request.Form("chkUnusual") & NL &_
" : " + Request.Form("chkcentre") & NL &_
" : " + Request.Form("chkAcademicVenue") & NL &_
"Other type of Venue : " + Request.Form("VenueOther") & NL &_
"Facilities : " + Request.Form("Facilities") & NL &_
"Budget : " + Request.Form("Budget") & NL &_
"Special Requirement : " + Request.Form("SpecialRequirement") & NL &_
"Background : " + Request.Form("Background") & NL &_
"Name : " + Request.Form("Name") & NL &_
"Company : " + Request.Form("Company") & NL &_
"Address : " + Request.Form("Address") & NL &_
"Telephone : " + Request.Form("Telephone") & NL &_
"Email : " + Request.Form("Email")
'send email
objEmail.SendMail
'you can test for the success/failure of the operation by examining VBScript's Err object here
Set objEmail = Nothing
Else
Response.Write("<br><br><strong>No enquiry sent. Telephone number missing. Please go back and correct.</strong><br>")
End If
%>
</td>
<td width="213" valign="top">
• <b>Call us</b> to discuss your requirements on <br>
Tel : <strong>0161 427 7057</strong><br>
(International +44 161 427 7057) <br>
<br>
<b>• Fax us</b> with your enquiry on <br>
Fax : <strong>0161 427 2415</strong><br>
(International +44 161 427 2415)<br>
<br>
<b>• E-mail us</b> by clicking on<br>
<b><a href="mailto:sales@conferencesearch.co.uk">sales@conferencesearch.co.uk </a><br>
<br></b>
<br>
<b>Write to us at</b><br> Conference Search Ltd<br>
92 Church Lane<br>
Marple<br>
Cheshire<br>
SK6 7AR, UK
<br>
<br>
<br>
<br></td>
</tr>
<tr>
<td> </td>
<td colspan="2" align="right" valign="top"><br><strong><font color="#E6C67B">Email:</font> <a href="mailto:sales@conferencesearch.co.uk"><font color="#FFFFFF">sales@conferencesearch.co.uk</font></a></strong>
<br>
<br>
<br>
<br>
</td>
</tr>
</table>
</div>
<div id="nav">
<table border="0" cellspacing="0" cellpadding="0" summary="Conference Search navigation">
<tr>
<td height="36" background="images/top-nav.jpg"> </td>
</tr>
<tr>
<td background="images/nav-bkd.jpg" class="nav">
<a href="free-venue-finding-service.htm">Free Venue Finding Service</a><br><br>
<a href="venue-finding-service-works.htm">How the venue finding service works</a><br>
<br>
<a href="delegate-registration-conference-management.htm">Delegate Registration & Conference Management</a><br><br>
<a href="activity-events-team-building.htm">Activity Events/Team Building</a><br><br>
<a href="incentive-events.htm">Incentive Events</a><br>
<br>
<a href="conference-venues-uk.htm">Conference Venues UK & Overseas</a><br><br>
<a href="clients-say.htm">What our Clents Say</a><br><br>
</td>
</tr>
<tr>
<td height="30" background="images/nav-btm.jpg"> </td>
</tr>
</table>
</div>
<div id="top-menu" class="top-menu">
<a href="index.asp">Home</a>
<a href="links.htm">Useful Links</a>
<a href="contact.asp">Contact Us</a>
</div>
<div id="box"><table border="0" cellspacing="0" cellpadding="0">
<tr><td class="tel2">0161 427 7057</td></tr>
</table>
</div>
</body>
</html>