CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Please help

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.