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:- You've configured your MIDAS booking system to send outgoing 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
- 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:- 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