Home All Groups Group Topic Archive Search About

How to send email in .Net requiring server authentication

Author
7 Nov 2006 1:29 AM
rdufour
There's a code snippet to create and send an e-mail, but I need to send it
via a hosted server at an ISP and the outbound mail server requires
authentication (username and password). Whats the code to authenticate when
using framework v.2 and the system.net.mail namespace?

Any help greatly apprecoated.
Bob

Author
7 Nov 2006 3:10 AM
Jay B. Harlow
Bob,
For System.Net.Mail messages I normally look at:

http://www.systemnetmail.com

To answer your question see:

http://www.systemnetmail.com/faq/4.2.aspx

--
Hope this helps
Jay B. Harlow
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net


Show quoteHide quote
"rdufour" <bduf***@sgiims.com> wrote in message
news:OoexGxgAHHA.5068@TK2MSFTNGP02.phx.gbl...
> There's a code snippet to create and send an e-mail, but I need to send it
> via a hosted server at an ISP and the outbound mail server requires
> authentication (username and password). Whats the code to authenticate
> when using framework v.2 and the system.net.mail namespace?
>
> Any help greatly apprecoated.
> Bob
>
>