With the release of AHM v1.20 you can now set your AHM to send email notifications on errors and system status.
First connect to your unit.
Go to Configure>Email Notification to see the screen below.
The AHM will use an email address of your choice to enable it to send notifications, it does not have its own email address or SMTP server.
Type in the address of your SMTP server e.g. smtp.gmail.com.
- If you are using a static IP address you will need to enter a DNS server address in the network configuration setup. To do this go to Configure>Network and enter the DNS address in the DNS1 or DNS2 boxes e.g. 8.8.8.8 (our example shows a google DNS). If you enter addresses for both DNS1 and DNS2, DNS1 will take priority.
- If you wish to use DHCP you do not need a DNS address, but you still need to enter the SMTP address on the Email Configuration screen.
Back on the Email Configuration screen select the port you require. Generally, you would use port 25 for TCP, 465 for SSL servers and 587 for TLS servers but you should check with your provider.
In the connection box you can choose TCP, SSL or TLS
- You can use TCP if you have your own SMTP server on your LAN
- SSL may be required by your provider
- TLS may be required by your provider
For Auth Type choose Auth Plain for unencrypted (TCP) and Auth Login for encrypted (SSL/TLS).
Then enter the login name (email address) for the email address you have just entered the SMTP and DNS details for. This is the email addresses that you have chosen to use.
Then enter the password – this will almost certainly be an app specific password that you will have to generate (see later) rather than the usual password.
Sender email address and name - the sender email address is usually the same as the login name. The name could be the name of the AHM unit so that you will know which it is if you have installed more than one.
Set and email recipient email address and name – you can only add one address.
Choose the Trigger for the dispatch of an email notification. There is an option for none, this can be used with scheduled events where the unit can be configured to send logs periodically by navigating to Manage>Events and choosing 'Edit Selected Event'.
Send a test email. Check your junk folder and allow the sender if necessary.
Notes on Two factor Authentication (2FA) and port numbers
For Gmail
smtp.gmail.com, DNS – 8.8.8.8 (Google)
https://myaccount.google.com/security
With 2FA on - set up an App password in Gmail security and use this as the AHM email login password
Create & use App Passwords
- Go to your Google Account.
- Select Security.
- Under "Signing in to Google," select App Passwords. You may need to sign in.....
- At the bottom, choose Select Device, choose ‘Other’ and give it a name.
- Enter the App Password instead of your email login password on the Email Configuration screen. Do not include the spaces.
Can use SSL port 465 or TLS port 587.
For iCloud
smtp.mail.me.com, DNS 8.8.8.8
https://appleid.apple.com/account/manage
With 2FA on - set up an App password in account security and use this as the AHM email login password
Create & use App Passwords
- Go to your apple account and log in
- Navigate to Sign in and Security and choose App Specific Passwords
- Press the + button
- Enter a name
- Re-enter your apple password
- Enter the App Password instead of your email login password on the Email Configuration screen. Include the dashes.
Requires TLS port 587
Login and Sender email must be the account email address being used otherwise the email will fail to send.
For Yahoo/AOL
smtp.mail.yahoo.com / smtp.aol.com, DNS – 8.8.8.8 (Google)
https://login.yahoo.com/account/security or https://login.aol.com/account/security
With 2FA on or off, set up an App password in the account security page and use this as the AHM email login password.
Login and Sender email must be the account email address being used otherwise the email will fail to send.
Requires SSL port 465.
Other Email Accounts
The above accounts have been tested by A&H but others can be used. Other email accounts will likely require the use of 2FA and require app passwords to be generated using methods similar to those described above. An internet search will tell you which connection type and port your account uses.