Error sending mails
-
i was using the below code to send the mail. Dim mm As New MailMessage With mm .To = ToId .From = FromId .Body = Content End With SmtpMail.SmtpServer = "192.168.0.222" SmtpMail.Send(mm) for the first half hour it was working properly. After this an error message is coming, " Could not access 'CDO.Message' object. " Please help me to solve this
hello
-
i was using the below code to send the mail. Dim mm As New MailMessage With mm .To = ToId .From = FromId .Body = Content End With SmtpMail.SmtpServer = "192.168.0.222" SmtpMail.Send(mm) for the first half hour it was working properly. After this an error message is coming, " Could not access 'CDO.Message' object. " Please help me to solve this
hello
Hi, Please check that the CDO is properly registered on your system. For that you will have to re-install cdosys.dll and cdonts.dll. First uninstall cdosys.dll and cdonts.dll from you system using these commands.-
RegSvr32 "path to cdosys.dll" /u
RegSvr32 "path to cdonts.dll" /u
Then install them back by. Run theRegSvr32 "path to cdosys.dll"
andRegSvr32 "path to cdonts.dll"
. These files usually reside in your System32 directory under the windows root directory. You can use the command prompt to issue these commands. hope this solves your problem.
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder