468,740 Members | 2,035 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,740 developers. It's quick & easy.

Send email through windows application

Hi,

I am trying to find a way to send emails through windows application
by vb.net. I was using system.web.mail.smtpmail when I am doing the
web application, but I couldn't find it on windows application. Can
anyone kindly tell me how to do it in windows application?

Thanks.

Irene
Jul 21 '05 #1
1 1135
Hi Irene,

You can use System.Web.Mail classes just fine in a windows application.
You will however need to add a reference to the System.Web.dll
In Visual Studio in the Solution view right-click References and add
System.Web.dll from the list of .Net components.
Outside Visual Studio you would add /r:System.Web.dll to the compiler line
(full path might be necessary).

--
Happy Coding!
Morten Wennevik [C# MVP]
Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by jas | last post: by
9 posts views Thread by Bob Jones | last post: by
5 posts views Thread by Malik Asif Joyia | last post: by
15 posts views Thread by cj | last post: by
4 posts views Thread by Tony M | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.