Could not access 'CDO.Message' object
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
When I try to send e-mail from my asp.net application I get the following error "Could not access 'CDO.Message' object"!! Why is that so? What I do is: MailMessage msg = new MailMessage(); msg.From = "whatever"; msg.To = "whatever@wherever.lv"; msg.Subject = "subjeect"; msg.Body = "body"; SmtpMail.SmtpServer = "server.lv"; SmtpSend(msg); Everything works fine when I send mail to people who have their accounts on this mail server "server.lv", but when I try to send mail to someone who has his mail account on some other server, for example sss@hotmail.com, I get this error???? Should I configure my mail server or what? thanx