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





