Could not create 'CDO.Message' object

  • Thread starter Thread starter JJBW
  • Start date Start date
J

JJBW

Re: Could not create 'CDO.Message' object

Has anyone figured this one out yet? I too have tried all the
suggestions I can find from the newgroups and still no luck.

MailMessage mmNotify = new MailMessage();

mmNotify.From = "MyAddress";
mmNotify.To = "MyRecipient";
mmNotify.BodyFormat = MailFormat.Text;
mmNotify.Subject = "MySubject";
mmNotify.Body = "Test";

SmtpMail.SmtpServer = "localhost";
SmtpMail.Send(mmNotify);

Result -> Could not create 'CDO.Message' object
 
Re: Could not create 'CDO.Message' object

Collaboration Data Objects (CDO) implements the functionality to create
Internet messages.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/ht
ml/collabdataobjects.asp

I am afraid that .NET framework uses CDO 2.0 that is not implemented in
Windows prior to 2000. it means that you cannot use theses classes in
Windows 98 or ME. you have to use MAPI or direct SMTP connections to send
e-mails.

Regards,
Wiktor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top