D-Link Forums

The Graveyard - Products No Longer Supported => IP Cameras => DCS-2230 => Topic started by: mobne on December 09, 2015, 03:01:16 PM

Title: Email Test Error (SOLVED)
Post by: mobne on December 09, 2015, 03:01:16 PM
I don't know what to do any more.

I have tested all firmwares i can find. same in all of them.
I have tried yahoo, gmail and my ISP bahnhof. Non of them can complete the test.

I have followed instructions carful from the providers on how to set it up. Nothing works.

On my dcs-933L it works but not on my dcs-2230
Why is that? Is my camera broken? Sounds so strange.

Followed this guide also:

Procedure: Gmail
SMTP Server Address        smtp.gmail.com
SMTP Server Port           587 or 465
Sender E-mail Address      myname@gmail.com
Receiver E-mail Address    myname@gmail.com
User Name                  myname
Password                   my e-mail account password
Title: Re: Email Test Error
Post by: RYAT3 on December 09, 2015, 05:46:19 PM
Try full email as username? Just a guess

Joeblow@Gmail.Com
Etc
Title: Re: Email Test Error
Post by: mobne on December 10, 2015, 01:37:50 AM
Try full email as username? Just a guess

Joeblow@Gmail.Com
Etc

Yes of course i use that.
I actually found the issue today.

With Gmail its compleetly necessary to use (StartTLS) and the only port that works is 587.

took me like 7 hours of testing before finding this out :( Yahoo never worked and not my ISP either. The strange is that yahoo worked on my dcs-933l camera, and the exact same settings it had did not work with the dcs-2230. Thats confusing.

So for some other ppl with troubles:
My setup now is:

Sender email address: emailname@gmail.com
Recipient email address: differentemailname@hotmail.com
Server address: smtp.gmail.com
User name: emailname
Password: gmail email password
Port: 587
This server requires a secure connection (StartTLS): startls ON

Title: Re: Email Test Error (SOLVED)
Post by: Hard Harry on December 10, 2015, 02:28:00 AM
FYI, here are some (https://support.google.com/a/answer/176600?hl=en) additional methods of configuring to send through Gmail's SMTP server. Each have their specific requirements. Might come in handy for those devices that aren't compatible with TLS.
Title: Re: Email Test Error (SOLVED)
Post by: FurryNutz on December 10, 2015, 07:32:41 AM
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)
Title: Re: Email Test Error (SOLVED)
Post by: zzyzxx_x on December 14, 2015, 07:27:44 PM
This is so weird.
My cam was working just fine with gmail, with the settings described.
For some unknown reason, without changing anything at all, it doesn't work any more.
And I cannot get it to work, no matter what I try! All I get is "Test error".
What really bugs me, is that I didn't change anything with the cam or the router!
Yipes.
Title: Re: Email Test Error (SOLVED)
Post by: FurryNutz on December 15, 2015, 06:22:12 AM
If it had been working and you haven't changed anything on your side of the ISP services, it could possibly be something on the ISP side of things.

This is so weird.
My cam was working just fine with gmail, with the settings described.
For some unknown reason, without changing anything at all, it doesn't work any more.
And I cannot get it to work, no matter what I try! All I get is "Test error".
What really bugs me, is that I didn't change anything with the cam or the router!
Yipes.
Title: Re: Email Test Error (SOLVED)
Post by: zzyzxx_x on December 15, 2015, 08:47:32 AM
Agreed. But how to troubleshoot that?
I know from (painful) experience speaking with anyone from Comcast is only a waste of time...
Title: Re: Email Test Error (SOLVED)
Post by: FurryNutz on December 15, 2015, 08:55:09 AM
Might try a different email account and set up from scratch and see.
Title: Re: Email Test Error (SOLVED)
Post by: Hard Harry on December 17, 2015, 09:07:57 PM
Agreed. But how to troubleshoot that?
I know from (painful) experience speaking with anyone from Comcast is only a waste of time...

I feel your pain. Both as a customer and a former employee of a similar ISP; Cox. Did Comcast customer service also get a lot worst in the last 2 years?

Anyway, what settings were you using? Also, is your camera on your Comcast home network?

Something I notice is Comcast says to use port 465 (http://customer.xfinity.com/help-and-support/internet/email-client-programs-with-xfinity-email/) for SMTPS . This makes me think they have started using STARTTLS vs TLS on that port. The whole thing is super confusing though, if your curious, and want to know more, see this blog post. (https://www.fastmail.com/help/technical/ssltlsstarttls.html)
Title: Re: Email Test Error (SOLVED)
Post by: FurryNutz on December 18, 2015, 06:51:57 AM
Harry, Let me know if any troubleshooting information needs to be added to the FAQ. I'd like the to be a central place users can go to get help on email issues. Email has been a roller coaster ride for many.

Agreed. But how to troubleshoot that?
I know from (painful) experience speaking with anyone from Comcast is only a waste of time...

I feel your pain. Both as a customer and a former employee of a similar ISP; Cox. Did Comcast customer service also get a lot worst in the last 2 years?

Anyway, what settings were you using? Also, is your camera on your Comcast home network?

Something I notice is Comcast says to use port 465 (http://customer.xfinity.com/help-and-support/internet/email-client-programs-with-xfinity-email/) for SMTPS . This makes me think they have started using STARTTLS vs TLS on that port. The whole thing is super confusing though, if your curious, and want to know more, see this blog post. (https://www.fastmail.com/help/technical/ssltlsstarttls.html)
Title: Re: Email Test Error (SOLVED)
Post by: zzyzxx_x on December 20, 2015, 09:21:03 AM
OK, so I whipped out the Wireshark to see what's going on in the cam's network segment, and...surprise!
Absolutely NOTHING. Despite the motion detection on, the cam does not send any email.  I'm not sure (yet) if the cam is not detecting motion OR it's detecting the motion but not sending the email. I'll have to figure a way to troubleshoot that next.
The video over the network works fine...
Title: Re: Email Test Error (SOLVED)
Post by: GreenBay42 on January 30, 2018, 09:23:53 AM
Old thread but this still comes up. The correct way to configure your camera for email (using gmail as sender):

Sender email address: emailname@gmail.com
Recipient email address: any email address
Server address: smtp.gmail.com
User name: emailname  (do not use @gmail.com)
Password: gmail email password
Port: 465  (NOT 587)
This server requires a secure connection (StartTLS): startls ON  (SSL-TLS)

Also in most cases you will need to turn on "less secure apps" on the sender gmail account --> click here (http://support.dlink.com/FAQView.aspx?f=EtsWnye%2f5hsweBlN5IYO0A%3d%3d)
Title: Re: Email Test Error (SOLVED)
Post by: FurryNutz on January 30, 2018, 10:15:47 AM
Updated the forum FAQ as well:
Setting up email on DCS series cameras FAQ (http://forums.dlink.com/index.php?topic=63536.0)
Title: Re: Email Test Error (SOLVED)
Post by: marekb on August 13, 2018, 02:29:22 PM
I just coinfigured 2330 camera email notifications after a long battle. The settings are:

Sender email address: emailname@gmail.com
Recipient email address: any email address
Server address: smtp.gmail.com
User name: emailname  (do not use @gmail.com)
Password: gmail email password
Port: 587 (pay attention to 587 in use for StartTLS, 465 does not work, 465 is used for SSL)
This server requires a secure connection (StartTLS): On

When this was configured, gmail sent me an alert about less secure app trying to access my email account. I then enabled less secured apps to access it and ... bingo :), it works now.
Title: Re: Email Test Error (SOLVED)
Post by: FurryNutz on August 13, 2018, 02:37:36 PM
Enjoy.  ;)