• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

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
0
stankstank
Asked:
stankstank
  • 2
3 Solutions
 
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

Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now