Re: TIdSMTPAuthenticationType: which file to include in uses clause for this?

Giganews Newsgroups
Subject: Re: TIdSMTPAuthenticationType: which file to include in uses clause for this?
Posted by:  Snehanshu Ashar (snehanshu.ash…@acs-inc.com)
Date: Sat, 24 Jul 2004

I think

Encoding := {IdMessage.}TIDMessageEncoding.meMIME;

does it :-)

Thanks,
...Snehanshu
"Snehanshu Ashar" <snehanshu.ash…@acs-inc.com> wrote in message
news:70D7AEBA09A6E240snehanshu.ash…@acs-inc.com...
> Hello!
> This is what I am trying to do to port from old code to Delphi 8:
>
>    With IDSMTP1 Do
>    Begin
> //      MaxLineAction := maException
> //      ReadTimeout := 0;
>      Host := 'MyHost';
>      Port := 25;
>      AuthType := atNone;
>      MailAgent := 'MyAgent';
>    end;
>
> It seems that the two lines I commented are not available in Indy 10.
> But my compilation stops at "AuthType := atNone;".
> Can some one please tell me where is TIdSMTPAuthenticationType defined?
> And also, can some one please tell me if there is any place where such
> information is listed?
> Thanks,
> ...Snehanshu

Replies

In response to

TIdSMTPAuthenticationType: which file to include in uses clause for this? posted by Snehanshu Ashar on Sat, 24 Jul 2004