Difference between revisions of "Email/Email Notifications Setup GMail"

 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<pdf>File:EmailNotificationsGmail.pdf</pdf>
+
==How to Setup Email Notifications via Gmail==
 +
===Prerequisites===
 +
* A Gmail account
 +
* An email address to send the notifications to
 +
* A Dahua NVR
  
To get email notification for an NVR on gmail:
+
===Video Instructions===
 +
''Coming Soon''
  
1. Log in to an NVR, go to Setup -> Network -> Email and check Enable in the check box then enter the SMTP Server.
+
===Step by Step Instructions===
  
[[File:GmailNotification1.jpg]]
+
1. Log into the web interface of the NVR
 +
<br>Then select '''Setting''' at the top left
 +
<br>Select '''Network''' from the drop-down
  
2. To get the SMTP Server, open up command prompt by typing cmd on the windows search bar and type ping smtp.gmail.com to get the IP address.
+
[[File:EmailNotificationsGmail1.png|1100px]]
  
[[File:GmailNotification2.jpg]]
+
2. Select '''Email''' from the list on the left
  
3. Enter the IP address into the SMTP server.
+
[[File:EmailNotificationsGmail2.png|1100px]]
  
[[File:GmailNotification3.jpg]]
+
3. Check the box next to '''Enable'''
 +
<br>Input the following information into these fields:
 +
* '''SMTP Server''': smtp.gmail.com
 +
* '''Port''': 587
 +
* '''Username''': [Your Gmail email address]
 +
* '''Sender''': [Your Gmail email address]
  
4. The port number for gmail is 465, and enter the email information that you will be sending the notification from into the username/password/sender. Sender is the full email information.
+
[[File:EmailNotificationsGmail3.png|1100px]]
  
[[File:GmailNotification4.jpg]]
+
4. Open a web browser and log into your Gmail account
 +
<br>Click the Account icon at the top right
 +
<br>Select '''Manage your Google Account'''
  
5. Enter a subject for the email notification and enter a receiver by entering and pressing the plus sign, you may have multiple receiver.
+
[[File:EmailNotificationsGmail5.png|1100px]]
  
[[File:GmailNotification5.jpg]]
+
5. Select '''Security''' from the list on the left
 +
<br>If 2-Step Verification is already setup on your account, you will see it listed as "On". If that is the case, skip to Step 7.
 +
<br>If 2-Step Verification is off, click the arrow to the right of '''2-Step Verification''' under "Signing in to Google"
  
6. Enter a time interval for the frequency of the email if you wish and click save.
+
[[File:EmailNotificationsGmail6.png|1100px]]
  
[[File:GmailNotification6.jpg]]
+
6. Select '''Get Started''' and then follow through all the steps to setup 2-Step Verification for your Gmail account
  
7. Go back to the command prompt and enter ipconfig /all and get the DNS Server.
+
[[File:EmailNotificationsGmail7.png|600px]]
  
[[File:GmailNotification7.jpg]]
+
7. 2-Step Verification should now show "On" under "Signing in to Google"
 +
<br>Select the arrow to the right of '''App passwords'''
  
8. On the NVR go to TCP/IP and enter the information on DNS.
+
[[File:EmailNotificationsGmail8.png|1100px]]
  
[[File:GmailNotification8.jpg]]
+
8. Click on '''Select app'''
 +
<br>Then select '''Mail''' from the drop-down
 +
 
 +
[[File:EmailNotificationsGmail9.png|700px]]
 +
 
 +
9. Click on '''Select device'''
 +
<br>Then select '''Other (Custom name)''' from the drop-down
 +
 
 +
[[File:EmailNotificationsGmail10.png|700px]]
 +
 
 +
10. Click on the field and type in "Dahua NVR" or another name that will help you associate this password with your NVR
 +
<br>Then select '''Generate'''
 +
 
 +
[[File:EmailNotificationsGmail11.png|700px]]
 +
 
 +
11. You will see a unique password that was generated for use with your NVR
 +
<br>Note this password for use in the next step
 +
 
 +
[[File:EmailNotificationsGmail12.png|600px]]
 +
 
 +
12. Go back to your NVR's web interface, where you left off in Step 3
 +
<br> Enter the password that you got from Step 11 in the '''Password''' field
 +
 
 +
[[File:EmailNotificationsGmail14.png|1100px]]
 +
 
 +
13. Make sure '''TLS''' is selected for '''Encryption Type''' if it is not already
 +
 
 +
[[File:EmailNotificationsGmail15.png|1100px]]
 +
 
 +
14. Enter the email address you want to send these notifications to next to '''Receiver''' and then press the '''+''' button to the right
 +
<br>(The reciever email address(es) can be the same as the sending address or different)
 +
<br>Repeat this process for all email addresses you want notifications sent to
 +
 
 +
[[File:EmailNotificationsGmail4.png|1100px]]
 +
 
 +
15. Enter the amount of seconds you want between each email notification in the field next to '''Sending Interval'''
 +
<br>If you want to recieve emails to verify the email notification system is still working, check the box next to '''Health Mail''' and enter how often you want those emails in the field next to '''Sending Interval'''
 +
 
 +
[[File:EmailNotificationsGmail16.png|1100px]]
 +
 
 +
16. Click '''Apply''' at the bottom right to save your changes
 +
<br>Press the '''Test''' button on the bottom left to test notifications with the information you entered above
 +
<br>If the test is successful you will see a message at the top that says "Test succeded" and you will recieve a test email
 +
<br>If it says "Test Failed", check all the information you entered above
 +
 
 +
[[File:EmailNotificationsGmail13.png|1100px]]

Latest revision as of 17:00, 27 May 2022

How to Setup Email Notifications via Gmail

Prerequisites

  • A Gmail account
  • An email address to send the notifications to
  • A Dahua NVR

Video Instructions

Coming Soon

Step by Step Instructions

1. Log into the web interface of the NVR
Then select Setting at the top left
Select Network from the drop-down

EmailNotificationsGmail1.png

2. Select Email from the list on the left

EmailNotificationsGmail2.png

3. Check the box next to Enable
Input the following information into these fields:

  • SMTP Server: smtp.gmail.com
  • Port: 587
  • Username: [Your Gmail email address]
  • Sender: [Your Gmail email address]

EmailNotificationsGmail3.png

4. Open a web browser and log into your Gmail account
Click the Account icon at the top right
Select Manage your Google Account

EmailNotificationsGmail5.png

5. Select Security from the list on the left
If 2-Step Verification is already setup on your account, you will see it listed as "On". If that is the case, skip to Step 7.
If 2-Step Verification is off, click the arrow to the right of 2-Step Verification under "Signing in to Google"

EmailNotificationsGmail6.png

6. Select Get Started and then follow through all the steps to setup 2-Step Verification for your Gmail account

EmailNotificationsGmail7.png

7. 2-Step Verification should now show "On" under "Signing in to Google"
Select the arrow to the right of App passwords

EmailNotificationsGmail8.png

8. Click on Select app
Then select Mail from the drop-down

EmailNotificationsGmail9.png

9. Click on Select device
Then select Other (Custom name) from the drop-down

EmailNotificationsGmail10.png

10. Click on the field and type in "Dahua NVR" or another name that will help you associate this password with your NVR
Then select Generate

EmailNotificationsGmail11.png

11. You will see a unique password that was generated for use with your NVR
Note this password for use in the next step

EmailNotificationsGmail12.png

12. Go back to your NVR's web interface, where you left off in Step 3
Enter the password that you got from Step 11 in the Password field

EmailNotificationsGmail14.png

13. Make sure TLS is selected for Encryption Type if it is not already

EmailNotificationsGmail15.png

14. Enter the email address you want to send these notifications to next to Receiver and then press the + button to the right
(The reciever email address(es) can be the same as the sending address or different)
Repeat this process for all email addresses you want notifications sent to

EmailNotificationsGmail4.png

15. Enter the amount of seconds you want between each email notification in the field next to Sending Interval
If you want to recieve emails to verify the email notification system is still working, check the box next to Health Mail and enter how often you want those emails in the field next to Sending Interval

EmailNotificationsGmail16.png

16. Click Apply at the bottom right to save your changes
Press the Test button on the bottom left to test notifications with the information you entered above
If the test is successful you will see a message at the top that says "Test succeded" and you will recieve a test email
If it says "Test Failed", check all the information you entered above

EmailNotificationsGmail13.png