error : Could not access CDO.Message object
-
hi all, i create an application to sending email's. this is the code i used. Dim mailmsg As MailMessage SmtpMail.SmtpServer = "127.0.0.1" mailmsg = New MailMessage mailmsg.To = txtFrom.Text mailmsg.From = txtTo.Text mailmsg.Subject = "demo" mailmsg.Body = "Its a simple test" mailmsg.BodyFormat = MailFormat.Text SmtpMail.Send(mailmsg) But i got an error 'Could not access CDO.Message object' Please help me. Thomas
-
hi all, i create an application to sending email's. this is the code i used. Dim mailmsg As MailMessage SmtpMail.SmtpServer = "127.0.0.1" mailmsg = New MailMessage mailmsg.To = txtFrom.Text mailmsg.From = txtTo.Text mailmsg.Subject = "demo" mailmsg.Body = "Its a simple test" mailmsg.BodyFormat = MailFormat.Text SmtpMail.Send(mailmsg) But i got an error 'Could not access CDO.Message object' Please help me. Thomas
Two possible reasons: 1. cdosys.dll is not installed on your machine. Usually it comes along with Outlook. 2. Your local SMTP server is not running. _____________________________________________________________________________ I don't expect too much, all I want is your vote for Halbsichtigkeit.