How to use ASP & Sending Mail with CDO.Message This is learn/tutorial asp developers how to using ASP script Sending Mail with CDO.Message
ShotDev Focus:
- ASP & Sending Mail with CDO.Message
Example
asp_cdomessage_mail.asp
<html>
<head>
<title>ShotDev.Com Tutorial</title>
</head>
<body>
<%
Dim myMail,HTML
Set myMail = Server.CreateObject("CDO.Message")
myMail.From = "[email protected]"
myMail.To = "[email protected]"
myMail.Subject = "My Subject"
myMail.TextBody = "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_cdomessage_mail.asp
Screenshot



2footstep…
…