Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

asp.net system.web.mail question 1

Status
Not open for further replies.

hotwu

Programmer
Aug 10, 2003
13
US
i am attempting to send an e-mail using .net, but the mail server i am sending through requires server authentication. this is a problem as i do not see a way to authenticate using my username / password. any help would be appreciated.

joel konecny
global110.com
 
As you have found, system.web.mail does not support sending mail through an smtp server that requires authentication. You will have to use CDOSYS on Windows 2000 or later, Outlook COM Automation, or another third-party solution for authenticated STMP. One simple free third-party smtp class that you can use, can be found here
 
ugh, not the answer i wanted, but it is an answer nonetheless. i appreciate your help.

joel konecny
global110.com
 
I agree. If security was really on Microsoft's mind when building .Net, then they should have built authentication in. It's not like it could have been that hard. All they did was build a wrapper for the CDOSYS component, which has this capability, it's just not implemented in the wrapper. Oh well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top