By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,484 Members | 1,017 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,484 IT Pros & Developers. It's quick & easy.

how to send mail ????

P: n/a
Your best bet instead of re-coding all of it is to use the
Exception Handling Application Block. You can find it on
the MSDN website by searching for Application Blocks.

If you don't want to do that, you'll need to reference the
System.Web assembly and import the System.Web.Mail
namespace and then you can send mail from a .NET winform.
However, be warned that you need to have SMTP installed
and running on the users machine so depending on your
environment it may not work.

Jeff Levinson
Author Of "Building Client/Server Applications with
VB.NET: An Example Driven Approach"
-----Original Message-----
Dear all,

I am building a .NEt application under Windows 2000.
I have an error handling routine which actually log the
error massage in local text file or Event logger.

I would like to extent its functionnlity by beeing able tosend automatically an email when an error occurs.

beiing able to set also may mailpropert such as :
- subject
- sender name
- recipeint name
- feedback
- severity

How can I do that ? any links or sample to point me in?

thnaks for your help


Nov 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.