How can I send an email like I can with asp.net using System.Web.Mail or by
some other way.

Thanks.
Jay

Re: Send Email from Windows Form by Herfried

Herfried
Sat Dec 04 05:26:42 CST 2004

"Jay" <x.y@z.com> schrieb:
> How can I send an email like I can with asp.net using System.Web.Mail or
> by some other way.

You can use the same classes and methods to send mail like in ASP.NET.
Simply add a reference to "System.Web.dll" and then copy your code from the
ASP.NET application.

Sending and receiving email
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=email&lang=en>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>



Re: Send Email from Windows Form by v-schang

v-schang
Sun Dec 05 20:12:02 CST 2004

Hi Jay,

Yes, as Herfried has mentioned, we can use the System.Web.Mail components
in any kind of .net applications without any difference. Just be sure the
specify the correct smtp server. If there is any specific problems or
questions, please feel free to post here. Thanks.

How To Send E-mail Programmatically with System.Web.Mail and Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;en-us;310273

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)