I recently added a Synology DS212j NAS to the home data center and wanted to be able to send the Synology system emails through my Google Apps account. This should also work for GMail but I’ve only used Google Apps. These screenshots are from the Synology DiskStation Manager 4 beta (DSM4) but the setup is the same in DSM 3.2.
Optionally setup a user in Google Apps to use for sending emails. I have a dedicated account for sending these sort of system emails. You can use any account. You’ll need the email address and password.
Open the Synology DiskStation Manager, go to Control Panel (in DSM, not your PC), open “Notifications” and select the “E-mail” tab. The screen, with sample values, is shown below(Double-click for full size).
- This is the SMTP server and port and is the same for both GMail and Google Apps Email. The server is smtp.gmail.com and the port is 587. Some users may find port 25 should be used although I’ve found 587 always works.
- The username and password is the logon information for you Google email account and can be GMail or a Google Apps account.
- The third section configures where the notification are sent. Two addresses can be specified. Since I use this email account for notifications on multiple computers I specify Synology 212j as the subject prefix so I know which computer sent the email. Using the same email as your logon as the primary email is often recommended but I haven’t had any issues using a different destination email in any situation.
- Click the “Send a test email” to make sure everything is working.
If you’re on DMS 4 you can click the Advanced tab to select which notification emails get sent. By default, every possible notification will go through email.