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

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.