BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

did the indy9 support authentication type of CRAM-MD5 ?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
benny
Guest





PostPosted: Thu Feb 19, 2004 4:36 am    Post subject: did the indy9 support authentication type of CRAM-MD5 ? Reply with quote



Hi,
I wrote the following code, but it give me error in terms of:
exception class : EIdProtocolReplyError
exception message : failed authentication ...

Ismtp1.Host := CSB_MAIL_HOST;
Ismtp1.Username := CSB_MAIL_USERNAME;
Ismtp1.Password := CSB_MAIL_PASSWORD;
Ismtp1.Connect;
if Ismtp1.AuthSchemesSupported.IndexOf('LOGIN')>-1 then
begin
** Memo1.Lines.Add(Mail.AuthSchemesSupported.Text);
Ismtp1.AuthenticationType := atLogin;
Ismtp1.Authenticate;
end;

** this line I try to capture the AuthSchemesSupported Type on my mail
server then I found that it belongs to CRAM-MD5....
Is this the problem why I couldn't reach the authenticate level before
sending out any mail ??

Thanks In advance.

Regards,

benny


Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Thu Feb 19, 2004 6:22 am    Post subject: Re: did the indy9 support authentication type of CRAM-MD5 ? Reply with quote




"benny" <benny (AT) chrysanth (DOT) com> wrote


Quote:
Is this the problem why I couldn't reach the
authenticate level before sending out any mail ??

TIdSMTP only supports basic Username/Password authentication, nothing more.
In other words, MD5 is not supported. If you need that, then you will have
to implement it yourself by deriving a new class from TIdSMTP and overriding
the virtual Authenticate() and IsAuthProtocolAvailable() methods to send the
appropriate authentication commands.


Gambit



Back to top
Chad Z. Hower aka Kudzu
Guest





PostPosted: Thu Feb 19, 2004 7:30 am    Post subject: Re: did the indy9 support authentication type of CRAM-MD5 ? Reply with quote



"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote in
news:40345445$1 (AT) newsgroups (DOT) borland.com:
Quote:
TIdSMTP only supports basic Username/Password authentication, nothing
more. In other words, MD5 is not supported. If you need that, then you

Are you sure? We have a CRAM MD5 unit. In fact it was just ported to .net...
and JP has added tons of auth types to SMTP... Im quite sure we DO support
it.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Want to keep up to date with Indy?

Join Indy News - it free!

http://www.atozed.com/indy/news/

Back to top
Chad Z. Hower aka Kudzu
Guest





PostPosted: Thu Feb 19, 2004 7:31 am    Post subject: Re: did the indy9 support authentication type of CRAM-MD5 ? Reply with quote

Aah--- I think it might be Indy 10 only though.


--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Got Indy? Got the book?

http://www.atozed.com/indy/book/
Back to top
J. Peter Mugaas
Guest





PostPosted: Sat Feb 21, 2004 7:14 pm    Post subject: Re: did the indy9 support authentication type of CRAM-MD5 ? Reply with quote

On Thu, 19 Feb 2004 09:30:57 +0200, Chad Z. Hower aka Kudzu wrote:

Quote:
"Remy Lebeau (TeamB)" <gambit47.no.spam (AT) no (DOT) spam.yahoo.com> wrote in
news:40345445$1 (AT) newsgroups (DOT) borland.com:
TIdSMTP only supports basic Username/Password authentication, nothing
more. In other words, MD5 is not supported. If you need that, then you

Are you sure? We have a CRAM MD5 unit. In fact it was just ported to .net...
and JP has added tons of auth types to SMTP... Im quite sure we DO support
it.

It's only in Indy 10. Indy 9.0 does not have Indy 10's extensive SASL
framework which would permit a developer to support MD5-CRAM.

--
J. Peter Mugaas - Indy Pit Crew
Internet Direct (Indy) Website - http://www.nevrona.com/Indy
Personal Home Page - http://www.wvnet.edu/~oma00215
If I want to do business with you, I will contact you. Otherwise, do not
contact me.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.