View Full Version : ASP Form To Mail Script Needed
06-01-2007, 03:49 PM
I have searched for a decent asp form to email script, but cannot find one that is suitable. What I need is:
Email results to a specified email address (dont want this to be a hidden input for spam reasons)
A thankyou page
an error page (validation)
Does anyone know of any good ones?
06-01-2007, 04:08 PM
I'll join in the request. If I may add one more thing to it:
it would be great if it came with captcha!
@mumford: I've used Webassist Universal Email, which kinda works. I don't like it tho.
Most of the time I end up using FormsToGo (http://www.bebosoft.com/products/formstogo/)
06-05-2007, 10:17 PM
I hope I can help here.:D
Use CDONTS or JMAIL it's FREE.:thumbsup:
Dim objMail, objBody
Set objMail = CreateObject("CDONTS.Newmail")
objBody= "Some text" & vbCrLf & vbCrLf'/// Add your own message.
objBody=objBody &"Some text" & vbCrLf & vbCrLf
objMail.From = "firstname.lastname@example.org" '/// Change this to your email.
objMail.To = (rsrecordset.Fields.Item("emailfield").Value)'/// This bit inserts the email address of the person.
objMail.Subject= "Subject"'/// Add your subject.
Set objMail = Nothing
myBody = "Some text"
mySubject = "Some text"
Set myMail = Server.CreateObject ("CDONTS.NewMail")
myMail.From = "You@YourDomain.com"
myMail.To = "email@example.com"
myMail.Subject = mySubject
myMail.Body = myBody
Set Msg = server.createobject("JMail.Message")
'Msg.Logging = true 'Logging if needed
Msg.From = "email"
Msg.FromName = "Name"
Msg.Subject = "Subject"
Msg.ContentType = "text/html"
Msg.GetMessageBodyFromURL "http://www.webpage.com/pae.html" 'this will send the entire page
msg.AddRecipient "email" , "name"
06-05-2007, 10:27 PM
Captcha we can add later, first get this script to work for you.
06-07-2007, 08:38 PM
westmatrix99, why did we even bother.
Looks like this is one of those "ask and forget about it" posts.
06-07-2007, 08:47 PM
It seems that ASP web guys are worse than PHP web guys in responding, the only I say this is due to the third post I answered and no response.
No point in deleting that data as there is a ref for others, I guess.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.