How to configure MIDAS to send email via Gmail's SMTP serversMIDAS can be configured to send email via an external SMTP server/relay. This article outlines how to configure MIDAS to send email via Google's SMTP servers (a valid Gmail account is required).
The email settings within MIDAS may be accessed via MIDAS Admin Options → Manage MIDAS → Email.
In order to send mail from your MIDAS system via your Gmail account, enter the following settings:
Replace "firstname.lastname@example.org" with your actual Gmail email address, and specify the corresponding password. Also, ensure that the "SSL?" option is selected.
Click "SMTP Test" to test the settings you've entered. If all goes well, you'll see a confirmation that a test email was successfully sent.
If, however, you see an error message along the lines of "
Error: 530 5.5.1 Authentication Required. Learn more at https://support.google.com/mail/answer/14257" ...then assuming the credentials you entered were correct, then this error is most likely a result of Google blocking external access to your Google/Gmail account from an unknown location/app (i.e. the server where your MIDAS system resides).
To resolve, simply point your browser to http://www.google.com/accounts/DisplayUnlockCaptcha (or if you use Gmail through your work, school, or other organization, https://www.google.com/a/yourdomain.com/UnlockCaptcha where yourdomain.com is your domain name) and click "Continue":
This will grant access for 10 minutes for registering new apps/devices:
Back in MIDAS, click the "SMTP Test" button again. If all goes well, you should then see a confirmation that a test email was successfully sent.
If you're still seeing an authentication error, there's one more setting within your Google Account you can check/change. Whilst logged in to your Google/Gmail account in your browser, go to My Account → Sign-in & security, and enable the "Allow less secure apps" option.
If you're then still unable to authenticate to Gmail's SMTP servers from within MIDAS, please see Gmail's Help article: Can't sign in to my email app
← Return to Knowledgebase