<% Dim nameName,name,emailName,email Dim subject,subjectName,messageName,message Dim IPname,IP,User_Agentname,User_Agent,accesscodeName,accesscode Dim refererName,referer nameName = "Name: " name = Request.Form("name") emailName = "E-Mail Address: " email = Request.Form("email") subjectName = "Subject: " subject = Request.Form("subject") messageName = "Message: " message = Request.Form("message") accesscodeName = "Access Code: " accesscode = Request.Form("accesscode") IPname = "IP Address: " IP = Request.Form("IP") User_Agentname = "Browser Info: " User_Agent = Request.Form("User_Agent") refererName = "URL: " referer = Request.Form("referer") Set JMail = Server.CreateObject("JMail.Message") 'Change this line to the address of your 'email server. Something like this: mail.yoursite.com:25 JMail.ServerAddress = "mail.example-host.com:25" JMail.AddRecipient "firstname.lastname@example.org" 'in the next line you can change that email address to something else 'like "email@example.com", just be sure and put it between quotes " " JMail.From = Request.Form("email") 'in the next line you can change that email address to something else 'like "firstname.lastname@example.org", just be sure and put it between quotes " " JMail.Sender = Request.Form("email") 'you can also change "Form Submission" to something else like "form results" etc. JMail.Subject = "From Merchant Account Resources regarding: " & Request.Form("subject") 'JMail.Subject = "milehighmerchantaccounts" Request.Form("subject") JMail.Body = nameName & name & vbcrlf&_ emailName & email & vbcrlf&_ messageName & message & vbcrlf&_ vbcrlf&_ IPname & IP & vbcrlf&_ User_Agentname & User_Agent & vbcrlf&_ referername & referer & vbcrlf&_ accesscodeName & accesscode 'HERE you make a choice. You can redirect the user to any page in your site 'Response.Redirect "confirm.asp" 'Or just say thanks. Delete the line you dont want. Either above or below JMail.Execute %>
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.