Sending Mail from ASP with CDONTS.NewMail Object
Tutorials Shared by the Internet Community
Total Hits - 37811
Total Votes - 100 votes
Vote Up - 43 votes
Vote Down - 57 votes
Domain - www.devasp.com
Category - ASP/Email Systems
Submitted By - Devesh Khanna
Submitted on - 2008-03-06 09:49:28
The NewMail object gives you the ability to send a message within an ASP page with only few lines of code. The syntax for sending mail with the NewMail object of CDONTS is as follows:
objNewMail.Send( [From] [, To] [, Subject] [, Body] )
You can create the instance of NewMail Object with the following code.
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
%> More detail...