ASP Hosting sale!
1,000MB space, 40GB transfer, 1 SQL Server 2000 db! - $9.95 per month*!
Limited Time Offer!

aspdev | articles | tutorials | forums

ASPdev -> All Articles -> Send email from ASP with CDONTS

Send email from ASP with CDONTS

Set ObjMail = Server.CreateObject("CDONTS.NewMail")
ObjMail.From = "your.name@yourdomain.com"
ObjMail.To = "somebody.else@theirdomain.com"
ObjMail.Subject = "Subject Text Here"
ObjMail.Body = "Body Text Here"
ObjMail.Send
Set ObjMail = Nothing




Contact Us