Not a Member Yet,
Click here to Register

ID: 98
Viewed: 4037
Added: Mar 18, 2002
Snippet uploaded by: snippet
Written By: Unknown
Demo: Sorry, no demo

User Rated at: 5 Stars5 Stars5 Stars5 Stars5 Stars
Rate This:

Thank you for your vote. Please wait...

It appears you already voted for this snippet

It appears your vote value was empty

In ASP you can use the CDONTS.NewMail Object to send emails. Simply create a form with your address, subject and body etc... and submit it an ASP page with this code in it (changing the strFrom, strTo, strSubject, strBody to Request.Form(from_name)).



Dim strTo
Dim strSubject
Dim strBody
Dim objCDOMail
Dim strForm


strFrom = ""
strTo = ""
strSubject = "This is the Subject"
strBody = "This is the email body"

set objCDOMail = Server.CreateObject("CDONTS.NewMail")

objCDOMail.From = strFrom
objCDOMail.To = strTo
objCDOMail.Subject = strSubject
objCDOMail.Body = strBody
set objCDOMail = Nothing

No Comments to show

Please completely fill out the form below if you want to review this snippet. All reviews are subject to validation.

Replying to a Comment...

Adding your comment. Please wait...

Thanks for adding your comment!. After further review it will be added.

There was a problem adding your comment. Please try again.

Please complete all the fields in the form before sending.

© 2002 - 2024 All Rights Reserved. Conditions
Do NOT follow this link or you will be banned from the site!