
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:- You've configured your MIDAS booking system to send email via an external SMTP server or relay, and;
- Your SMTP server/relay requires authentication, and;
- 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;
- Enable support for LOGIN and/or PLAIN authentication methods on your SMTP server, or;
- If you're a self-hosted customer, change the email delivery option (via MIDAS Admin Options → Email) to "Sendmail". Note: First ensure that Sendmail is available on the server where your MIDAS system resides.
- If you're a cloud-hosted customer, change the email delivery option (via MIDAS Admin Options → Email) to "Cloud".
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:- Locate the "midas.dat" file within your MIDAS installation and open this in a standard text editor. This is a JSON file.
- Search the file for the phrase "smtp". Within the "smtp" section of this JSON file, add the following line:
"auth" : "NTLM", - 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:- Locate your "midasglobal.dat" file within your MIDAS installation and open this in a standard text editor. This is an XML file.
- Locate the
<email>section of this file, and within the<smtp>subsection add the following line:<auth>NTLM</auth> - Save your modified "midasglobal.dat" settings file back to your server.
Cloud-hosted customers wishing to enable NTLM support should instead contact us.
← Return to the Knowledge Base