EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Error 535 sending e-mail

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 03/17/2015 13:14:52
by Eduardo Helminsky (Standard support level)
Joined: 08/20/2010
Posts: 102

Hi, I just upgrade from v11 to v12 and after some days I realize some SMTP servers fails to accept the login. The response is 535 error.

After search the forum, I have found message #31701 that describes almost exactly what I am dealing with.

I have changed my code adding some lines and it works. I would like to know if the changes are correct or should I change other things too.

The FSmtp is a TElSMTPClient component

FSmtp.SASLMechanism['DIGEST-MD5'] := False; // Added
FSmtp.SASLMechanism['CRAM-MD5'] := False; // Added
FSmtp.SASLMechanism['NTLM'] := False; // Added

If I back the application to use v11 it works WITHOUT these lines.
Posted: 03/18/2015 03:00:31
by Vsevolod Ievgiienko (EldoS Corp.)


Indeed SMTP component was changedto use the most secure authentication mechanism on login. Its possible that one of disabled algorithms is supported by the server but the component fails to authenticate for some reason. When you turn them off then Plain authentication scheme is used.
Posted: 03/18/2015 06:56:50
by Eduardo Helminsky (Standard support level)
Joined: 08/20/2010
Posts: 102

Vsevolod Ievgiienko

Thank you very much for the explanation.



Topic viewed 438 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!