GMAIL Failure? Anyone Else?

thanks... of course there isn't one for LTN87**... probably because I've been complaining too much.


After some long research and help from mib, here are the new firmwares for LTS related items with email fix:

NVR3 (LTN88xx series)

http://dl.ltsecurityinc.com/firmware/platinum/latest/NVR3_V3.1.1_160816.zip

NVRK (LTN88xxK series)

http://dl.ltsecurityinc.com/firmware/platinum/latest/NVRK_V3.4.6_160804.zip

NVR5 (LTN89xx Series)

http://dl.ltsecurityinc.com/firmware/platinum/latest/NVR5_V3.3.6_160810.zip

IPC 2 (most 1.3 MP / 3 MP IP cameras, again i would double check your model)

http://dl.ltsecurityinc.com/firmware/platinum/latest/IPC2_V5.3.0_160918.zip

IPC4 (most 2 MP/ 4 MP with WDR and 5 MP without WDR)

http://dl.ltsecurityinc.com/firmware/platinum/latest/IPC4_V5.4.0_160826.zip

Hope this helps, it looks like they are on track to release the email fix for all their equipment.

You can double check the model/firmware at their site on the bottom: http://www.ltsecurityinc.com/downloads)
 
I need the 87xx series too. I'm my neighbor's tech support! I hope they don't skip it. I was considering suggesting that model for another user but I may not be able to do that if I think that support has ended.
 
Just as a follow up since starting this post, I have moved all the cameras over to BLUE IRIS and have not had any issues using the same gmail accounts sending or receiving. BI seems to have no issues sending thru the gmail accounts using the same Hikvision Cameras? I have to admit though, I rely on the gmail alert emails less and less due to the push notification from the BI app itself.
 
I need the 87xx series too. I'm my neighbor's tech support! I hope they don't skip it. I was considering suggesting that model for another user but I may not be able to do that if I think that support has ended.

Looks like the traditional LTN87xx series got updated now! I think every model have solved the gmail issue...finally.

http://dl.ltsecurityinc.com/firmware/platinum/latest/NVR4_V3.3.2_161027.zip

had luck with these settings:

Uncheck SSL
Use Port 587
Enable authentication
 
Sweden here....my Hikvision notifications/GMAIL stopped at 18 nov 2016....been working for around 1 year without any problem, and did no changes!

Pulling my hair over this......i have a chinise imported cam, so no firmware upgrade avalible (that i could find)

SOLUTION for me...and for many others in this thread.... SMTP2GO

SMTP2GO: Reliable & Scalable Email Delivery Service just add your email there, and create a account....FREE

THANKS GUYS....after many hours and many tests i found this thread to be the best
 
  • Like
Reactions: normel
I solved the issue by setting smtp-relay on local network which uses TLS to communicate with gmail. Its easy to setup if you have docker running in your network.
Code:
# git clone https://github.com/namshi/docker-smtp.git
# cd docker-smtp
# docker build -t hikvision/smtp .
# docker run -d --name smtp -p "26:25" -e RELAY_NETWORKS=:192.168.0.0/24 -e GMAIL_USER=username@gmail.com -e GMAIL_PASSWORD=password hikvision/smtp

Then you only need to setup Hikvision Camera to use local docker IP number with port 26 without SSL in email settings. This way one doesn't need to upgrade their firmware (which is great for models that cannot be upgraded), solution is free with unlimited numbers of emails etc. Above example assumed that your local network is 192.168.0.x
 
Last edited:
Hi guys,

FYI

I updated two Hikvision IP cameras (R0 and R6 platforms) with the latest 5.4.5 firmware. I tried all combinations of 25/465/587/no_encription/SSL/TSL/STARTTLS no luck with gmail smtp :(

The problem with gmail is still not resolved, unbelievable!!!
 
I solved the issue by setting smtp-relay on local network which uses TLS to communicate with gmail. Its easy to setup if you have docker running in your network.

You may also use "stunnel" ? no need of docker for this I use it to TLS/SSL SMTP for Gmail and Yahoo too from app that do not support it, stunnel is cool small and easy to setup and works also for secure POP3 IMAP HTTP (for app that only support HTTPS) you can get it for Linux/Android/iOS/OS X/Win32 stunnel: Home

here are some samples of config file :

[yahoo-pop3]
client = yes
accept = 127.0.0.1:115
connect = pop.mail.yahoo.com:995

[gmail-pop3]
client = yes
accept = 127.0.0.1:117
connect = pop.gmail.com:995

[gmail-imap]
client = yes
accept = 127.0.0.1:143
connect = imap.gmail.com:993

[gmail-smtp]
client = yes
accept = 127.0.0.1:467
connect = smtp.gmail.com:465

[yahoo-smtp]
client = yes
accept = 127.0.0.1:469
connect = smtp.mail.yahoo.com:465
 
Hi guys,

FYI

I updated two Hikvision IP cameras (R0 and R6 platforms) with the latest 5.4.5 firmware. I tried all combinations of 25/465/587/no_encription/SSL/TSL/STARTTLS no luck with gmail smtp :(

The problem with gmail is still not resolved, unbelievable!!!

did you enable less secure programs to use it?
 
I solved the issue by setting smtp-relay on local network which uses TLS to communicate with gmail. Its easy to setup if you have docker running in your network.

Thanks for pointing this out! I never managed to get the docker running on a raspberry pi. But I was able to use the underlaying app (exim4) and setup the relay smtp server. And it works great. Before this I was messing around with a dozen different smtp provider where each of them had a quirk or reason it was unusable (best yet was sendgrid though).
 
Thanks for pointing this out! I never managed to get the docker running on a raspberry pi. But I was able to use the underlaying app (exim4) and setup the relay smtp server. And it works great. Before this I was messing around with a dozen different smtp provider where each of them had a quirk or reason it was unusable (best yet was sendgrid though).

sounds like when I was fighting zoneminder, then I found blue iris lol.
 
Yes, sure! I tried everything: no ssl, ssl, tsl with different ports (25, 465, 587).
Maybe your cameras are not able to reach the internet.
Are they connected to the LAN, or to an NVR PoE port?
What result do you get if you use the 'Test' button for the NTP time server server configuration?
 
Maybe your cameras are not able to reach the internet.
Are they connected to the LAN, or to an NVR PoE port?
What result do you get if you use the 'Test' button for the NTP time server server configuration?

My fault, I forgot to set the option
Allow less secure apps: ON
in the gmail account settings.

And it works with gmail, again!!!! :)

Buy the way I set SMTP port 465 and encryption "TLS" in the Email tab.
 
  • Like
Reactions: hmjgriffon
Hi,

I was struggling to get email notifications working with a chinese DS-2CD3Q10FD-IW, was even close to switch to DAHUA, till I found this gmail "workaround". I could unfortunately not upgrade my cam after 5.3.5 to have TLS access (as 5.4.0 chinese firmware is not available, and I do not want to go with the TFTP stuff, etc...)

So I simply use the restricted gmail SMTP server (G Suite SMTP settings to send mail from a printer, scanner, or app - G Suite Administrator Help). To proceed, you need to adjust these parameters for email event:
- No authentification
- Recipient: has to be a xxxxxx@gmail address
- SMTP server: aspmx.l.google.com
- port: 25
- SSL: disabled
This way I have a functional email notification with snapshots.

Cons:
- less secured (no authentification, no encryption but these are just snapshot at the end)
- you need to send to a gmail account (mandatory)
- might be limited to a daily number of snapshots (200, not 100% sure)
- you have to create a filter in you mail box as notifications should go directly in you spam folder

I hope that helps.
 
  • Like
Reactions: calltente
Hi,

I was struggling to get email notifications working with a chinese DS-2CD3Q10FD-IW, was even close to switch to DAHUA, till I found this gmail "workaround". I could unfortunately not upgrade my cam after 5.3.5 to have TLS access (as 5.4.0 chinese firmware is not available, and I do not want to go with the TFTP stuff, etc...)

So I simply use the restricted gmail SMTP server (G Suite SMTP settings to send mail from a printer, scanner, or app - G Suite Administrator Help). To proceed, you need to adjust these parameters for email event:
- No authentification
- Recipient: has to be a xxxxxx@gmail address
- SMTP server: aspmx.l.google.com
- port: 25
- SSL: disabled
This way I have a functional email notification with snapshots.

Cons:
- less secured (no authentification, no encryption but these are just snapshot at the end)
- you need to send to a gmail account (mandatory)
- might be limited to a daily number of snapshots (200, not 100% sure)
- you have to create a filter in you mail box as notifications should go directly in you spam folder

I hope that helps.
Yeah I am really considering Dahua, I used to use them more but then started switching to Hikvision, but some of the products have richer features then Hikvision at similar price so might switch back or use a combination.
At first I thought it was gmail but then I tried using different less restricted SMTP servers and seems like same issue.
Hikvision needs to resolve this I am tired of wasting time.
 
  • Like
Reactions: hmjgriffon
Yeah I am really considering Dahua...

I have the Dahua HDBW4300E-S ip camera and 3 Hikvision ip cameras (R0 and R6 platforms). This SMTP issue was fixed in the Hikvision firmware v5.4.5. But there is no new firmware for the Dahua HDBW4300E-S ip camera, unfortunately.
 
Dahua is experiencing same problems?
What SMTP settings are you using on the Hikvision? I have a cam with 5.4.5 but can't seem to get it to work.
I have gmail as username and receiver also, smtp.gmail.com as host, 578 port, TLS and enable STARTTLS, no image attach.
 
Unfortunately, yes. At least my Dahua ip camera has the same problem. Moreover, it does not work with any alternative mail server :( So I still do not receive emails from my Dahua ip camera.

I have the next Hikvision SMTP settings:
smtp.gmail.com
465
TLS
STARTTLS - no
attach - yes

Also in TCP/IP settings I have the next Google DNS servers:
8.8.8.8
8.8.4.4

And do not forget to "allow less secure app to access your account" in the Google account settings.
 
  • Like
Reactions: 1advancing