This article applies to PRTG Network Monitor 19 or later
Use a Gmail address for PRTG SMTP delivery
We successfully tested a Gmail address / Gmail SMTP server for sending out email notifications with PRTG 17.4.33.3251.
Settings for Gmail in PRTG 17.x.34 or later
In the PRTG web interface, select Setup | System Administration | Notification Delivery from the main menu, and use the settings as indicated in the screenshot below.
Note: Make sure you replace the user part of the email address with your own Gmail username (twice). When using a Gmail hosted address, use username@hostname.tld.
SMTP Delivery Mechanism | Use SMTP relay server |
---|---|
Sender Email | johnqpublic@gmail.com |
Sender Name | PRTG Network Monitor |
HELO Ident | prtgserver.domain.tld (optional - make sure that it has no space in it!) |
SMTP Relay Server | smtp.gmail.com |
SMTP Relay SMTP Port | 587 (or 465) |
SMTP Relay Authentication | Use standard SMTP authentication |
SMTP Relay User | johnqpublic@gmail.com |
Use Encrypted Connection | If supported by server |
SSL Method | TLS V1.2 |
Note: The settings are similar in PRTG versions 13 through 17.4.33 and previous.
Settings in Gmail for PRTG
We successfully tested the PRTG email delivery with Google Apps (aka G-Suite) using the following setup that is probably the same for plain Gmail accounts.
Very important: You need to change a setting for the Gmail/Google Apps account that you want to use for sending emails over SMTP. The setting is Allow less secure apps (see this page for more information).
You can change the settings in your Google account under Less secure apps:
If you do not allow "less secure apps", you will receive the following error even with everything set up correctly in PRTG:
Error sending "Email": Authentication unsuccessful ("smtp.gmail.com") |
Alternative: If you have activated two-factor authentication (2FA) for your Google account, there is an alternative to the Allow less secure apps setting. Generate a dedicated app password for PRTG as described on this page.
You can add an app password in the settings of your Google account:
Troubleshooting
To test the new settings, open Setup | Account Settings | Notification Templates in the PRTG web interface, select an email notification, and click Send test notification. PRTG will try to send an email immediately.
If you have any problems sending emails, please check the PRTG Logs for respective entries. Make sure your firewall settings allow a connection on port 465 or 587!
More
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.