Eddy
|
| Posted: 06/13/2003, 3:08 AM |
|
Just recently moved my site and they don't support this script. CDONTS only. I can get the tellafriend to work but can't seem to translate this into CDONTS format.
Dim Mailer
Set Mailer = Server.CreateObject("SoftArtisans.SMTPMail")
Mailer.FromName = "mysite.com"
Mailer.FromAddress = "admin@mysite.com"
Mailer.RemoteHost = "mail.mysite.com"
Mailer.AddRecipient "Webmaster", "webmaster@mysite.com"
Mailer.Subject = "From: " & Request.Form("from_name") & " - Customer Comments"
Mailer.BodyText = "Name: " & Request.Form("from_name") & vbcrlf
Mailer.BodyText = "Email: " & Request.Form("from_email") & vbcrlf & vbcrlf
Mailer.BodyText = "Comments: " & Request.Form("message_comments") & vbcrlf & vbcrlf
Request.Form("ContactUs")
on error resume next ' Ignore Errors
Mailer.SendMail
Set Mailer = Nothing
PLEASE HELP :)
|
|
|
 |
Desmond
|
| Posted: 06/13/2003, 6:08 AM |
|
Look in the Tips and Articles for Databaseless Email in CCS. An example of a form for use with CDONTS is there. You need to use CCGetParam instead of Request.Form
Desmond
|
|
|
 |
Eddy
|
| Posted: 06/13/2003, 2:42 PM |
|
Yes but I am using a database and it is inserted into database but I can't figure out how to translate the above script. If anyone could help me and translate this to CDONTS I could fix all my other scripts.
I thank you for any help
Eddy
|
|
|
 |
|