954,184 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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.

Thanks

Thomas

thomas_joyee
Newbie Poster
1 post since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

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.

Thanks

Thomas


I am Embeza,
Hi my friend.
To solve your problem please go to your favorite search
engine and try paulSadowski.com
thanks
with love

Embeza
Light Poster
48 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

Hi Thomas,
this is embeza from Ethiopia.
pls use the site i suggested.
i.e http://www.paulsadowski.com/WSH/cdo.html
You would perfectly find what you need
with regards
Embeza

Embeza
Light Poster
48 posts since Jun 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You