Einzelnen Beitrag anzeigen

Assertor

Registriert seit: 4. Feb 2006
Ort: Hamburg
1.296 Beiträge
 
Turbo C++
 
#2

Re: IDSMTP.AuthType := atNone funktioniert unter Delphi 2010

  Alt 30. Nov 2009, 12:29
Hi TheProfi,

Ein Blick in die automatisch eingebundene IdSMTP.pas Unit in der Uses Clause zeigt:

Delphi-Quellcode:
type
  TIdSMTPAuthenticationType = (satNone, satDefault, satSASL);
Also:

Zitat von TheProfi:
Delphi-Quellcode:
  login_typ := get_parameter(datamodule1.tblprogrammparameter,'2014');
  {authentication settings}
   case login_typ of
      0: IDSMTP.AuthType := satNone;
      1: IDSMTP.AuthType := satDefault; {Simple Login}
   end;
Gruß Assertor
Frederik
  Mit Zitat antworten Zitat