471,108 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

Send email through windows application


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?


Jul 21 '05 #1
1 1184
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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.