How to use ASP & Mail Config CDONTS.NewMail This is learn/tutorial asp developers how to using asp and config CDONTS component for send mail .
ShotDev Focus:
- ASP & Config CDONTS.NewMail
Solution
Error Type:
Server object, ASP 0177 (0×800401F3)
Invalid class string
Solve Problem
Step 1 Copy cdonts.dll to C:\WINDOWS\system32
Step 2 Start -> Run -> and Register DLL regsvr32 C:\WINDOWS\system32\cdonts.dll
Register Finish.
.
Example
asp_cdonts.asp
<html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <% Dim myMail Set myMail = Server.CreateObject("CDONTS.NewMail") If IsObject(myMail) Then Response.write("CDONTS Connected") Else Response.write("Cannot Connect to CDONTS") End If Set myMail = Nothing %> </body> </html>
Create a asp file and save to path root-path/myasp/
Run
http://localhost/myasp/asp_cdonts.asp
Screenshot
if have a mail out going will be create message queue.