MIDAS Knowledge Base MIDAS Knowledge Base

How to fix "No SASL mechanism found" errors when sending email

A "No SASL mechanism found" error can be caused if all of the following conditions are true:
  1. You've configured your MIDAS booking system to send outgoing email via an external SMTP server or relay, and;
  2. Your SMTP server/relay requires authentication, and;
  3. Your SMTP server/relay does not support compatible authentication methods.

MIDAS natively attempts to connect to the SMTP server you've specified using LOGIN or PLAIN authentication methods. If your SMTP server doesn't support either of these authentication methods, a "No SASL mechanism found" error may be shown when trying to send email from your MIDAS system.

To resolve this issue, you should either;

  1. Enable support for LOGIN and/or PLAIN authentication methods on your SMTP server
  2. Change your MIDAS settings to deliver mail using "Sendmail" instead of via SMTP (if Sendmail is available on the server where your MIDAS system resides, which it is for all our cloud-hosted customer's booking systems). Your can change your email delivery settings via MIDAS Admin Options → Manage MIDAS → Email.

Alternatively, if your SMTP server supports NTLM authentication, self-hosted customers may enable experimental NTLM support in MIDAS as follows:

MIDAS v4.22+

You will need access to the server where your MIDAS resides in order to do the following:
  1. Locate the "midas.dat" file within your MIDAS installation and open this in a standard text editor. This is a JSON file.
  2. Search the file for the phrase "smtp". Within the "smtp" section of this JSON file, add the following line:
    "auth" : "NTLM",
  3. Save changes to the midas.dat file back to your server.

MIDAS pre v4.22

You will need access to the server where your MIDAS resides in order to do the following:
  1. Locate your "midasglobal.dat" file within your MIDAS installation and open this in a standard text editor. This is an XML file.
  2. Locate the <email> section of this file, and within the <smtp> subsection add the following line:
    <auth>NTLM</auth>
  3. Save your modified "midasglobal.dat" settings file back to your server.

Cloud-hosted customers wishing to enable NTLM support should instead contact us.


You might also be interested in...


MIDAS » KB » Support » Article 00096

← Return to the Knowledge Base