Thursday, March 22, 2012

SMTPMail Object Question

If my SMTP server requires authentication how should the "Server" string be
sent? If there is a way.

Thanks"Carlos Cordon" <tcordonb@.hotmail.com> wrote in news:OGXIji$AEHA.3788
@.TK2MSFTNGP10.phx.gbl:
> If my SMTP server requires authentication how should the "Server" string be
> sent? If there is a way.

Your question doenst make sense to me. If the server needs auth - you cannot
just "hack" it on. Auth for SMTP supports about a dozen different ways and
most are not simple to implement. Best to use a tool that supports it. You
can try Indy, its free and supports all the common auth schemes.

www.indyproject.org

SMTP example in C# and VB:
www.atozed.com/indy

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
I want to send a mai message from my web page but my SMTP server requires
authentication. My question is: Is this possible using only the Mail.Message
object and SMPT.Mail object. If so how should I send the username and
password to the SMTP server?

Thanks

"Carlos Cordon" <tcordonb@.hotmail.com> wrote in message
news:OGXIji$AEHA.3788@.TK2MSFTNGP10.phx.gbl...
> If my SMTP server requires authentication how should the "Server" string
be
> sent? If there is a way.
> Thanks

0 comments:

Post a Comment