Reply
ASP Form To Mail Script Needed
Old 06-03-2007, 03:48 AM ASP Form To Mail Script Needed
Average Talker

Posts: 20
Hi

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?

thanks
mumford is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 06-03-2007, 11:15 AM Re: ASP Form To Mail Script Needed
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
You won't find those on the net. You have to write them.

These two articles might help get you started:

http://www.4guysfromrolla.com/webtech/112298-1.shtml (this shows the basics of how to send email using ASP and CDO...the .To property is a server-side property, so by default the email doesn't show.

http://www.4guysfromrolla.com/webtech/071599-1.2.shtml <--- this is a form to email script that you can mess with to suit your needs.
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 06-11-2007, 12:18 PM Re: ASP Form To Mail Script Needed
Average Talker

Posts: 25
I think you may find the following link helpful. You have to create your own thank you and error pages.

Good luck!

http://www.tele-pro.co.uk/scripts/co...form/index.htm
jengiss is offline
Reply With Quote
View Public Profile
 
Old 06-14-2007, 09:52 AM Re: ASP Form To Mail Script Needed
Super Talker

Posts: 109
Hey there...

I looked at the above site... it's using CDONTS. I know CDONTS was unpredictable on my former job's IP server.

I'd use the ASP script the link above uses but replace the mailer information with the one below...

<%

Dim Mailer

Set Mailer = Server.CreateObject("SMTPsvg.Mailer")

Mailer.FromName = "
fromname"
Mailer.FromAddress = "
from"
Mailer.RemoteHost = "YourRelay.provider.com"
Mailer.AddRecipient "
ToName","to"
Mailer.Subject = "
subject"
Mailer.BodyText = "
body"
Mailer.SendMail

Set Mailer = nothing

%>




You can read more about this at:
http://support.activehost.com/index....cleid=98&nav=0

DonnaZ
DonnaZ is offline
Reply With Quote
View Public Profile
 
Old 06-14-2007, 01:42 PM Re: ASP Form To Mail Script Needed
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,945
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
CDONTS doesn't work on Windows Server 2003, whereas CDO works on both Windows Server 2003 and Windows Server 2000.

Also, that SMTPSvg.Mailer one is a custom component (I think, but I can't remember which one.)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to ASP Form To Mail Script Needed
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.13520 seconds with 12 queries