Sending Emails in ASP.NET 2.0

What is the best way to send emails in ASP.NET 2.0?  I am sending through a remote SMTP server, so I need to be able to pass a login and password... My ISP wants my email as the login.

Also, do you recommend storing the bodies of email messages in a RESX file?

Thank you,

Stank
stankstankAsked:
Who is Participating?
 
jhanceCommented:
0
 
jhanceCommented:
Here's another example which uses the .NET 2.0 SmtpClient class:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=4733&lngWId=10
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.