Sending Mail from ASP with CDONTS.NewMail Object
Tutorials Shared by the Internet Community
Advertisements
Sending Mail from ASP with CDONTS.NewMail Object
The NewMail object gives you the ability to send a message within an ASP page with only few lines of code.Statistics
Total Hits - 37589
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
Description
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.
<%
Dim objNewMail
Set objNewMail = Server.CreateObject("CDONTS.NewMail")
%> More detail...
Advertisements