Support this website by joining the Silver Rails TrainWeb Club for as little as $1 per month. Click here for info.



This website has been archived from TrainWeb.org/DC to TrainWeb.US/DC.

   
History Equipment Photo Album Video Clips Projects
Feedback Form <% 'If the form has not been submitted execute the following code If Request.Form="" Then %>
Send us your Feedback.

Name
Email
Comment
   
 

<% 'If the form has been submitted execute the following code Else 'receive the form values Dim sName, sEmail, sFeedback sName=Request.Form("txtName") sEmail=Request.Form("txtEmail") sFeedback=Request.Form("txtFeedback") ' create the HTML formatted email text Dim sEmailText sEmailText = sEmailText & "" sEmailText = sEmailText & "" sEmailText = sEmailText & "HTML Email" sEmailText = sEmailText & "" sEmailText = sEmailText & "" sEmailText = sEmailText & "Feedback message from: " & sName & "
" sEmailText = sEmailText & "Message:" & sFeedback & "
" sEmailText = sEmailText & "Date & Time:" & Now() & "
" sEmailText = sEmailText & "IP :" & Request.ServerVariables("REMOTE_ADDR") 'create the mail object Set NewMailObj=Server.CreateObject("CDONTS.NewMail") NewMailObj.From=sEmail 'This is the email of the feedback sender NewMailObj.To = "higgins784-drummercreek@yahoo.com" 'change to your address NewMailObj.Subject = "DCGRR Feedback" NewMailObj.Body = sEmailText 'you need to add these 2 lines for the mail to be sent in HTML format 'remove them and the email will be sent in Text format NewMailObj.BodyFormat = 0 NewMailObj.MailFormat = 0 NewMailObj.Send Set NewMailObj=Nothing Response.write "
Thank you for sending your feedback.
" Response.write "We will get back to you if necessary.
" End If %>

 

Info
   
Contact Us | Copyright
ad pos61 ad pos63
ad pos62 ad pos64



Support this website by joining the Silver Rails TrainWeb Club for as little as $1 per month. Click here for info.