Re: error while using SmtpMail to send a simple html formatted message

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I have complete sample code at:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry

including sending html emails.



"DotNetJunkie" <DotNetJunkie@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B2AB6439-76DA-434A-A71A-440AA117DFB6@xxxxxxxxxxxxxxxx
Hi,
I am trying to send an email using System.Web.Mail.SmtpMail. I am getting
error: "Could not accessCDO.Message object"
It was a HTML formatted message, if I try to use Text BodyFormat it sent
the
mail successfully. But my need is to send a HTML formatted message.

So I tried to unregister the CDOSys.dll -- successful
then I tried to register it back and got the error - "DllRegisterServer in
cdosys.dll failed. Return code was: 0x800704da"
Now while trying to send mail using SmtpMail I am getting error: "Could
not
create CDO.Message object"

Now I can't send Html or Text BodyFormat messages.

Have someone encountered this problem before?

-DotNetJunkie


.



Relevant Pages

  • Novice Form Question
    ... I am a novice at JSP / HTML and have a Forms releated question. ... really looking for sample code I can leverage to help understand how ... My guess is that Javascript might ...
    (comp.lang.java.programmer)
  • Re: How to post back the data by selecting a value from drop down list
    ... Paul Lalli wrote: ... down list I do not have the sample code for this ... I have a HTML form and I will convert the form to a .pl (PERL) script. ...
    (comp.lang.perl.misc)
  • Re: How to post back the data by selecting a value from drop down list
    ... down list I do not have the sample code for this ... I have a HTML form and I will convert the form to a .pl (PERL) script. ...
    (comp.lang.perl.misc)
  • Re: `& interpreted as argument prefix
    ... I'm new to rubi and at present i'm trying to write a sample code for ... Apparently Google pages contain very complex HTML, to relieve strain on their servers. ... where 'foo' was in k. ... You can't write that in raw Ruby, so instance_variable_setis warning you that you should not write it in "meta-programming" Ruby either. ...
    (comp.lang.ruby)
  • Re: HTML in Java
    ... >HTMLDocument has the createDefaultRoot that creates the HTML and BODY ... >tag. ... once you get a handle on roughly the methods you need, try googling on ... them and see if you can find some sample code. ...
    (comp.lang.java.gui)