web 2.0

How to use ASP & Sending Mail with CDONTS.NewMail

How to use ASP & Sending Mail with CDONTS.NewMail This is learn/tutorial asp developers how to using ASP script Sending Mail with CDONTS.NewMail

ShotDev Focus:
- ASP & Sending Mail with CDONTS.NewMail

Example

asp_cdo_sendmail.asp


<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim myMail,HTML

Set myMail = Server.CreateObject("CDONTS.NewMail")

myMail.From = "webmaster@shotdev.com"
myMail.To   = "member@shotdev.com"
myMail.Subject = "My Subject"
myMail.Body = "My Body & My Description"

myMail.Send
Response.write ("Mail Sending.")
Set myMail = Nothing
%>
</body>
</html>

Create a asp file and save to path root-path/myasp/

Run
http://localhost/myasp/asp_cdo_sendmail.asp

Screenshot

ASP & Sending Mail with CDONTS.NewMail
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (1 votes, average: 1.00 out of 10)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.