D-Link Forums

D-Link IP Cameras for Home => DCS-942L => Topic started by: mattteo on February 06, 2014, 01:09:22 AM

Title: My 942L doesn't send email
Post by: mattteo on February 06, 2014, 01:09:22 AM
Hi to all and thanks in advance.

I can't find the proper configuration to enable my 942 to send emails.

I followed instructions found on this forum but it continues to not work.

Here are the details:
Firmware: 1.22
Recipient E-mail Address: my_not_gmail_address
Smtp Mail Server: smtp.gmail.com
Port: 465
Username: my_mail@gmail.com
Password: my gmail password
Sender Email address: my_mail@gmail.com
Use SSL-TLS: SSL-TLS

When I press test button, it shows me this message: "Send a test mail failure". No other details.  :(

I also tried the following steps:
- change the port to 587
- use my_mail (without @gmail) as username
- change the SSL-TLS option to STARTTLS

None of these worked.

I tried to use the ftp function to see if the camera reaches Internet and it worked, so the camera is correctly configured to access internet.

Any suggest?

Thanks, thanks, thanks.
Title: Re: My 942 doesn't send email
Post by: mattteo on February 14, 2014, 12:47:22 AM
Update:

I had even try with the hotmail settings (smtp.live.com and my @hotmail.com account).

Sometimes it works and sometimes not.

It would be great if it showed what is the error during sending mail!
Host unreachable? Wrong authentication? Permission denied? Or whatever it is...

Even in the camera log, it doesn't show anything. Only that it failed.  :(

DLINK, if you're hearing this, put the errors in the log, thanks!  :-* ;)
Title: Re: My 942 doesn't send email
Post by: crocodile69 on February 14, 2014, 03:24:11 AM
So far I haven't hear of a single person that managed to get the email feature working as advertized by D-Link.
 
I read some reviews, including the one at smallnetbuilder, that guy said the same thing, he never got any emails from the camera, no matter how he set it up.
Title: Re: My 942 doesn't send email
Post by: belvedere on February 19, 2014, 08:00:32 PM
So far I haven't hear of a single person that managed to get the email feature working as advertized by D-Link.

I have three DCS-942L cameras set up to send e-mails, and I have no problems.  I have cable service and the cable company's SMTP server allows relaying through their server with no username and password, and no SSL.  This is admittedly simpler than what you are trying to do, but I'm just pointing out that the e-mail can work.  The folks who manage to get it to work don't post on forums saying as much :).

Does your ISP offer an SMTP gateway?  You might try that instead of sending through gmail.
Title: Re: My 942 doesn't send email
Post by: mattteo on February 20, 2014, 12:15:02 AM
Thanks Belvedere!

Yesterday I did exactly what you have suggested now.

It worked! And it continues to work.
I was waiting to be sure enough that the configuration works.

Considering that you too confirm this approach, I could be sure that it will continue to work.

So, as you have written, my configuration is:
Smtp server: my ISP smtp
Username: (blank)
Password: (blank)
Use SSL: none

So simple!  ;)
Title: Re: My 942 doesn't send email
Post by: belvedere on February 20, 2014, 09:46:40 AM
So, as you have written, my configuration is:
Smtp server: my ISP smtp
Username: (blank)
Password: (blank)
Use SSL: none

Good!  A more detailed error message than "Send failed" for the test-email button sure would be helpful, wouldn't it?
Title: Re: My 942 doesn't send email
Post by: mattteo on February 23, 2014, 11:52:42 PM
Good!  A more detailed error message than "Send failed" for the test-email button sure would be helpful, wouldn't it?

Sure, it would!

I'm going to add it to the wish list!
Title: Re: My 942 doesn't send email
Post by: joogle on March 09, 2014, 09:33:40 AM
I have the same problem. The DLINK does not send emails, this is a crucial feature I need that should be working.

I get the same error "Send a test mail failure" using my gmail settings.

Note: I have DCS-932L with the same mail settings that works great.

But the DCS-942L does not, I saved settings, rebooted, etc., but no additional information in the log.

Any suggestions on how to get this to work.
Title: Re: My 942 doesn't send email
Post by: froad on March 10, 2014, 01:35:15 PM
Having "spastic" problems similar in nature.  Went on vacation a few weeks ago - all worked fine from 4 camera's for a week.  I had them set up to take a snapshot once per day per camera and send to my email.  Then they all stopped (a few days apart) - now through mydlink I can only access 2 of them  Can send a "test snapshot" from the 2 I can access, and the test picture comes through fine.  One camera did send snapshots for 2 days again, and then stopped.  I have rebooted the router a couple times and ALL cameras have been set to reboot once per day - but nothing seems to fix the problem.  Will be home in a week or so and unplug them to reset and see if that helps.  Sure would like some help getting these cameras to works the way they advertise.  NOTE -  Dlink support advised me to unplug the camera to see if this would fix the problem, if not - do a factory re-set and set them up again... maybe a good plan, but I am several thousand miles from the camera's so that support is pretty useless.

Update - after returning home, checked my NAS and every camera recorded "events" as it should for the entire duration.  I suspect the issue was firmware V1.23. As a solution, I hard wired each camera to the router (one at a time) - did a reset (using the reset on the back of the camera) - did a complete re-install and reverted back to firmware 1.22 - actually went through this process twice with each camera to be sure - all 4 now working 100% for now -
Title: Re: My 942L doesn't send email
Post by: JavaLawyer on March 31, 2014, 10:03:19 AM
I was informed by D-Link that they are aware of this issue. I will post back if I have receive any updates.
Title: Re: My 942L doesn't send email
Post by: ChristopherTracy on April 30, 2014, 02:43:54 PM
Hi,

Got hold of a 942L today, and had no joy setting up with gmail or hotmail after an firmware upgrade. Performed a firmware upgrade and currently on:
Firmware Version         1.23
Firmware Build Number  3404

I am UK based, and was able to send email using BT's mail server:

SMTP - mail.btinternet.com
Port - 587
Username - <name>@btinternet.com
Use SSL-TLS - No

Made a change seeing: "Send a test mail successfully", and then seeing it being received.
Title: Re: My 942L doesn't send email
Post by: SUPCUZ on June 26, 2014, 09:47:04 AM
I was informed by D-Link that they are aware of this issue. I will post back if I have receive any updates.

Same issue. Can you tell them its a joke that its taking so long. Show some respect to people who paid money for the product by providing adequate help.
Title: Re: My 942L doesn't send email
Post by: ceglia on July 06, 2014, 12:49:38 PM
been unable to send emails using gmail and hotmail (like everyone else).... but got it working using the free email account i get from ISP.

don't waste your time trying to get gmail and hotmail working... it's pointless.  the only way to get email notifications is by using a pop3 style email account, like a school or employer email address or an address given to you by your ISP or hosting company.
Title: Re: My 942L doesn't send email
Post by: kope on March 22, 2016, 02:11:55 AM
I'm using DCS-2132LB. I contacted Taiwan support, and got the solution to get gmail smtp works. The issue is D-Link doesn't support secure sign in. So you need to go to gmail 'My Account' security section to "Allow less secure apps: ON". Since the password field also doesn't support non alphabet characters, so you are advised to create a non-secure gmail account just for cctv mailer purpose. Another reason is this account may use up your email quota with vid/pic attachment. Good luck!
Title: Re: My 942L doesn't send email
Post by: FurryNutz on March 22, 2016, 07:21:39 AM
Thanks for sharing your information. Hope this helps future users. Enjoy.
Title: Re: My 942L doesn't send email
Post by: Snaggles8 on July 08, 2016, 10:25:18 AM
As per kope above, I created a non-secure access to a throwaway google account without numbers in the password, used google settings in email page, but use only name and not @gmail.com in the name field. also had to set the security to starttls in order for it to work. only took me a few hours of frustration lol!
Title: Re: My 942L doesn't send email
Post by: FurryNutz on July 08, 2016, 10:49:01 AM
Thanks for sharing your information. Hope this helps future users. Enjoy.

As per kope above, I created a non-secure access to a throwaway google account without numbers in the password, used google settings in email page, but use only name and not @gmail.com in the name field. also had to set the security to starttls in order for it to work. only took me a few hours of frustration lol!
Title: Re: Finally got my camera's email working!
Post by: Altrev on August 04, 2016, 12:19:54 PM
Here's what I did:

First I assigned a Static IP address to the camera:
    1. Reserve the IP address currently assigned to the camera on your router;
    2. Access the camera interface by entering the same IP address into your browser;
    3. Select the Status tab;
    4. Note the IPv4 settings (Address, Subnet Mask, Default Gateway, DNS, etc);
    5. Go to Setup/Network;
    6. Select Static IP Address, and
    7. Enter the same settings that were noted above into the appropriate cells (don't save yet).
Now change the HTTP Port in case your ISP doesn't enable port 80:
    8. Scroll down to the port settings:
       a. Change the HTTP Port to 801,
       b. Enable UPNP Port Forwarding,
       c. Change the UPNP External HTTP Port Forward to 801,
       d. Leave the other two ports (HTTPS, RTSP) the same;
    9. Save the camera settings and let the camera reboot.

While the camera reboots, log into your router again and forward ports 801, 443 and 554 to your camera's Static IP address (I activated both UPD and TCP protocols, which might be overkill, but I wasn't taking any chances).

Log back into the camera using the Static IP Address and new port (192.164.0.14:801), make sure your email settings are correct and run a test.

It worked like a charm for me, and I'm up and running now!
Title: Re: Finally got my camera's email working!
Post by: FurryNutz on August 04, 2016, 12:40:02 PM
Depending on configuration and router MFr, Static IP addresses should NOT be reserved ON the router at the same time. Static IP addresses should be set on devices out side of the routers DHCP IP address pool. Otherwise using a Reserved IP address for devices ON the router with in the DHCP IP address pool is a good method. Setting a Static and reserving at the same time is not good networking practice and may cause problems.
>DHCP (http://forums.dlink.com/index.php?topic=58017.0)

It's recommended that in this case, cameras, should have a static IP address set on them.

Here's what I did:

First I assigned a Static IP address to the camera:
    1. Reserve the IP address currently assigned to the camera on your router;
    2. Access the camera interface by entering the same IP address into your browser;
    3. Select the Status tab;
    4. Note the IPv4 settings (Address, Subnet Mask, Default Gateway, DNS, etc);
    5. Go to Setup/Network;
    6. Select Static IP Address, and
    7. Enter the same settings that were noted above into the appropriate cells (don't save yet).
Now change the HTTP Port in case your ISP doesn't enable port 80:
    8. Scroll down to the port settings:
       a. Change the HTTP Port to 801,
       b. Enable UPNP Port Forwarding,
       c. Change the UPNP External HTTP Port Forward to 801,
       d. Leave the other two ports (HTTPS, RTSP) the same;
    9. Save the camera settings and let the camera reboot.

While the camera reboots, log into your router again and forward ports 801, 443 and 554 to your camera's Static IP address (I activated both UPD and TCP protocols, which might be overkill, but I wasn't taking any chances).

Log back into the camera using the Static IP Address and new port (192.164.0.14:801), make sure your email settings are correct and run a test.

It worked like a charm for me, and I'm up and running now!
Title: Re: My 942L doesn't send email
Post by: rib-butcher on August 30, 2016, 01:40:31 PM
Hi all,

My DCS-942L stopped sending emails using my Gmail SMTP settings after getting a new router even after configuring the new router to look like the old one on the LAN. I'd just like to note that I had to specify the IP of my new router within the camera primary DNS settings to get the camera to send emails again. Something which I did not have to define with my old router.

I guess the camera could not resolve the smtp.gmail.com hostname but the lovely lack of error messages when emails failed to send of course helped me to diagnose this ;)

Rob.
Title: Re: My 942L doesn't send email
Post by: FurryNutz on August 30, 2016, 04:39:52 PM
Link>Welcome! (http://forums.dlink.com/index.php?topic=48135.0)


What Mfr and model is the main host router?

I recommend setting a static IP address ON the cameras outside of the main host routers default DHCP IP address pool: 192.168.#.94.  DHCP (http://forums.dlink.com/index.php?topic=58017.0)

Test cameras with uPnP and uPnP Port Forwarding both enabled on ALL cameras: DCS Cloud (L) Series Camera Configuration and Mydlink.com (http://forums.dlink.com/index.php?topic=62395.0)

Setting up email on DCS series cameras FAQ - http://forums.dlink.com/index.php?topic=63536.0 (http://forums.dlink.com/index.php?topic=63536.0)

Hi all,

My DCS-942L stopped sending emails using my Gmail SMTP settings after getting a new router even after configuring the new router to look like the old one on the LAN. I'd just like to note that I had to specify the IP of my new router within the camera primary DNS settings to get the camera to send emails again. Something which I did not have to define with my old router.

I guess the camera could not resolve the smtp.gmail.com hostname but the lovely lack of error messages when emails failed to send of course helped me to diagnose this ;)

Rob.