I have complete sample code at:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry
including sending html emails.
> Hi,
> I am trying to send an email using System.Web.Mail.SmtpMail. I am getting
[quoted text clipped - 15 lines]
>
> -DotNetJunkie
DotNetJunkie - 27 Jul 2007 13:10 GMT
BEfore trying the sample code I would like to mention that mine code is
working on all machines except one. That is the reason I am playing with
dlls.
> I have complete sample code at:
> http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!138.entry
[quoted text clipped - 20 lines]
> >
> > -DotNetJunkie
Don't use the System.Web.Mail.SmtpMail and associated classes. They are
deprecated. Use the System.Net.Mail classes. Check out the following web
site: http://www.systemnetmail.com/

Signature
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
> Hi,
> I am trying to send an email using System.Web.Mail.SmtpMail. I am getting
[quoted text clipped - 15 lines]
>
> -DotNetJunkie
DotNetJunkie - 27 Jul 2007 13:10 GMT
I can't use System.Net.Mail classes as project is on Framework 1.1. And the
problem is that same code is working on all other machines except one. Thats
why I was trying to work on the dlls of the machine.
> Don't use the System.Web.Mail.SmtpMail and associated classes. They are
> deprecated. Use the System.Net.Mail classes. Check out the following web
[quoted text clipped - 19 lines]
> >
> > -DotNetJunkie
sloan - 27 Jul 2007 15:14 GMT
That's why I mentioned my sample.
I have both 1.1 and 2.0 versions.
>I can't use System.Net.Mail classes as project is on Framework 1.1. And the
> problem is that same code is working on all other machines except one.
[quoted text clipped - 27 lines]
>> >
>> > -DotNetJunkie
Kevin Spencer - 30 Jul 2007 11:51 GMT
You may want to be sure that CDOSYS is installed and configured properly on
the machine in question. It sounds like it is not. The nice thing about
System.Net.Mail is that there is no dependency on such as COM object in the
managed software.

Signature
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
>I can't use System.Net.Mail classes as project is on Framework 1.1. And the
> problem is that same code is working on all other machines except one.
[quoted text clipped - 27 lines]
>> >
>> > -DotNetJunkie