Dahua NVR - Email Notifications - NVR test email works but no alarm emails?

AMarkham40

n3wb
May 18, 2018
13
5
Virginia
I hate asking this but after spending hours looking through previous threads I haven't been able to figure out this issue. Here is my system:

Dahua NVR (NVR4108-8P-4KS2)
4 - Dahua IPC-HDW5231R-ZE cameras

I've successfully setup my Dahua NVR through OpenVPN. I have Smart Plan enabled with IVS Intrusion Detection. I have the DMSS app on my phone & it will send me push notifications whenever an IVS event occurs. I was trying to setup email alerts as well in case I'm not connected to my VPN. I have a Gmail account & through the Dahua NVR interface I was able to successfully send a test email but that's it. When I get a push notification of an IVS event, I do not get any emails. Any ideas what I'm doing wrong? One thing that confuses me is I setup email on the NVR interface only. I did not setup the email in each of my 4 cameras. I tried to setup email in my cameras just as I did in my NVR but for some reason the test emails fail for the cameras but works for the NVR. I don't know if that's the issue or if I only need to setup email in my NVR only.
 
Your cameras connected to the NVR PoE ports cant send email as they cant connect to the internet directly.

The NVR handles these. I have set it up many times, but I would guess Google/Gmail is throttling or rejecting them

Email providers, esp Gmail, are constantly trying to reduce spam and new rules are changed on how to send via a device.
Try here for starters
 
  • Like
Reactions: TonyR
I appreciate it. I successfully have my NVR setup using an app password in Gmail as the Test email comes through fine, but I don't get any emails when an IVS event happens only the push notification in DMSS. If Gmail was rejecting them wouldn't it reject the test email as well?
 
No, because GMAIL algorithms have got so good it can tell the "test" was initiated by a human and the IVS event was initiated by a machine and they are trying to block the machine generated stuff since that is how all the bots and spam is created.

We first dealt with that with SMS texting and now making its way into gmail and others. Switching to another email provider just kicks the can down the curb as eventually they will tighten it up as well.

It is why many have gone to Pushover app.
 
  • Like
Reactions: bigredfish
1- make 100% positive each camera has “send email” checked for each rule

2- Make sure rules are actually being triggered and shown in recording/playback

3- Google and others have been known to drop automated emails with attachments, and/or check attachments aren’t being sent to spam folder etc
 
Yeah never had a problem with my own.

But others run a variety of public servers with success.
 
1- make 100% positive each camera has “send email” checked for each rule - confirmed in each camera

2- Make sure rules are actually being triggered and shown in recording/playback - AI search in NVR shows Intrusion events

3- Google and others have been known to drop automated emails with attachments, and/or check attachments aren’t being sent to spam folder etc - I added my Outlook account under the Receiver section in the email setup tab. I sent a test email & it showed in both my Gmail & Outlook accounts. I then triggered an Intrusion event but neither account received an email. I was only notified by the push notification in the DMSS app. Spam/Junk folders are empty.
 
The sender email account is what matters.
 
See the fix using app passwords I posted
 
See the fix using app passwords I posted

See screenshots below. I'm using the 16-digit passcode from the app password I setup in my Gmail account & the test email is successful.

I am confused on one thing. I don't see a 'Send Email' option for my cameras in the NVR software but I do have the option when logging into each camera individually. Since the cameras are connected to the POE ports on my NVR does the "Send Email" checkbox do anything in the camera software or am I only worried about the NVR software for email notifications?
 

Attachments

  • 1.png
    1.png
    22.2 KB · Views: 2
  • 2.png
    2.png
    367.3 KB · Views: 2
  • 3.png
    3.png
    278.6 KB · Views: 2
Again, there is no rationale as to why it works for some and not others.

As an example, one of my cameras sends out an alert to myself and two other neighbors for certain events. One usually gets it and the other usually doesn't until hours later. Both same provider. I suspect they also look at your overall account history to decide what it thinks is bot versus not.

Mobile and email providers are tightening up their algorithms. You are simply kicking the can down the road trying different providers.

As I explained, when you send a test, the email provider algorithm can tell that was human generated and when the IVS is tripped it can tell that is machine generated and considers it a bot and doesn't deliver.

Test away, they will show up all day.

As @bigredfish said - do they show up in the sent email?

Another thing is if you have two cameras trigger at the same time or close to it, that can send off the bot alert in the algorithm.
 
I'm a freaken idiot. I didn't notice the scroll bar on the NVR software. I just found the 'Send Email' checkbox by scrolling down & selecting more. Now the email notification works. :facepalm:
 

Attachments

  • 4.png
    4.png
    374.9 KB · Views: 5
  • Like
Reactions: bigredfish
The "Send Email box on the camera must be checked.

Caution: Use the Camera GUI for EVERYTHING. DO NOT make ANY settings on the NVR
 
Typically if you would make the settings on the camera it will push them back to the NVR.

You found one that didnt get pushed for some reason. Good find.
 
  • Like
Reactions: AMarkham40
Typically if you would make the settings on the camera it will push them back to the NVR.

You found one that didnt get pushed for some reason. Good find.

I appreciate it. I've rebooted my cameras & NVR multiple times today, so not sure why that setting didn't transfer from the cameras to the NVR. It's working now though, lol.
 
  • Like
Reactions: bigredfish
My apologies for not suggesting looking for that. I don't use email alerts any more as my IVS push to DMSS on my phone works so well
 
I want to thank you all. I purchased my cameras & NVR from Andy about 5 years ago. I installed them, enabled P2P & only used them to manually search when I was curious about something. I then decided a few weeks ago I wanted to enable alarms & push notifications. I then discovered I had over 10 extra admin accounts in my NVR!! One of them was named "HackedBy", lol. I immediately deleted all the accounts, changed my password, disabled P2P & then upgraded my NVR & cameras to the latest firmware. I used this forum to learn about OpenVPN & successfully set it up on my router yesterday.
 
  • Like
Reactions: bigredfish
I’ve had to hacked NVRs from P2P
I think those that do are possibly showing their serial # and or QR code on a forum post or elsewhere. That’s all this is needed

Apparently some older equipment and P2P implementations has issues too, leading Dahua to curtail P2P in older equipment especially

Most get hacked by port forwarding their NVR and using weak Admin passwords
 
Last edited: