MIDAS Knowledge Base
Why does outgoing email fail with "No SASL mechanism found"?This error can be caused if all the following conditions are true:
- You've configured your MIDAS booking system to send outgoing email via an external SMTP server or relay
- Your SMTP server/relay requires authentication
- 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:
- Locate your "midasglobal.dat" settings file in your MIDAS installation on your server
- Open this file in a standard text editor
- Locate the
<email>section of this file, and within the
<smtp>subsection add the following line:
- Save your modified "midasglobal.dat" settings file back to your server
Cloud-hosted customers wishing to enable NTLM support should contact us.
← Return to Knowledge Base