|Subject:||Re: Problem Sending Mail to Secure SMTP server|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Tue, 30 May 2006|
"Manney" <email@example.com> wrote in message
> just trying out the Indy 10.0.52 components with Delphi 5
That is an old version. The current snapshot version is 10.1.5. You should
> I droped an tIdSmtp set the AuthType to atSASL, dropped a
> TIdSASLLogin comp and assigned it to the tIdSmtp.SASLMechanisims
> assigned list dropped a TIdUserPassProvider comp and set the username
> and password. set the TIdSASLLogin.UserPassProvider to point to the
> comp on the form
TIdSASLLogin sends the AUTH LOGIN command (which is not secure in any way)
to the server. Setting the AuthType property to atDefault instead
accomplishes the same thing without using TIdSASLLogin at all.
If you want true security, AUTH LOGIN is not the way to go. You need to use
actual encryption, such as MD5, depending on your server's configuration.
When the UseEhlo property is set to True, TIdSMTP queries the server for its
capabilities. What values does the TIdSMTP.Capabilities property hold after
you connect to the server? If the server supports 'CRAM-MD5', for example,
then put a TIdSASLCRAMMD5 object into the SASLMechanisms collection.
Problem Sending Mail to Secure SMTP server posted by Manney on Tue, 30 May 2006