Page 1 of 1

E-Mail Notification Not Working For Me

Posted: November 8th, 2013, 2:29 pm
by ridiz
I setting up a new sabnzbd instance and having issues with the e-mail notification. I am running 0.7.16 on OS X 10.9 with the built-in Python v2.7.2.

When I try to send an e-mail notification, I get:

Code: Select all

2013-11-08 13:58:52,295::INFO::[api:654] Sending testmail
2013-11-08 13:58:52,390::DEBUG::[emailer:59] Connecting to server smtp.gmail.com:465
2013-11-08 13:58:52,846::DEBUG::[emailer:72] Non-SSL mail server detected reconnecting to server smtp.gmail.com:465
2013-11-08 13:59:52,913::ERROR::[emailer:37] Failed to connect to mail server
I have the same version of sabnzbd running on a Windows host with the exact same notification configuration. That one works. Here is the relevant piece from the log file:

Code: Select all

2013-11-08 14:13:18,043::INFO::[api:654] Sending testmail
2013-11-08 14:13:18,069::DEBUG::[emailer:59] Connecting to server smtp.gmail.com:465
2013-11-08 14:13:19,237::DEBUG::[emailer:65] Connected to server smtp.gmail.com:465
2013-11-08 14:13:19,676::INFO::[emailer:123] Notification e-mail succesfully sent
It seems like it may be related to SSL/TLS detection?

Re: E-Mail Notification Not Working For Me

Posted: November 9th, 2013, 12:25 pm
by shypike
I'll look into it.

Re: E-Mail Notification Not Working For Me

Posted: November 12th, 2013, 2:08 pm
by shypike
You should use smtp.gmail.com:587
and follow what's said here: http://wiki.sabnzbd.org/configure-notifications-0-7
There are specific instructions for gmail.
It works for me like this.
Are you using some software firewall? (I'm not.)

Re: E-Mail Notification Not Working For Me

Posted: November 12th, 2013, 2:37 pm
by ridiz
Changing the port to 587 worked for me. Interestingly, 465 still works on my Windows install, but it won't work in OS X.

Oh well, I'll just use 587 - Thank you!!

Re: E-Mail Notification Not Working For Me

Posted: December 4th, 2013, 4:49 am
by kobyz
Hijacking this thread with the same bug:
I'm using win7 64bit
tried both 587 and 465 ports for google.
followed the instructions to the letter.
But still get connection failure.

Re: E-Mail Notification Not Working For Me

Posted: December 4th, 2013, 6:30 am
by shypike
Are you using a software firewall?

Re: E-Mail Notification Not Working For Me

Posted: December 4th, 2013, 8:06 am
by kobyz
no

Re: E-Mail Notification Not Working For Me

Posted: December 5th, 2013, 11:15 am
by shypike
Sorry, could be a million causes.
It works for most people, but somehow not for you.
It's not feasible to do debug session on your system.

Re: E-Mail Notification Not Working For Me

Posted: September 29th, 2014, 12:39 am
by microzoa
I'm wondering if you have 2 factor authentication turned on? That was my issue. Simply went into Google apps https://security.google.com/settings/se ... ppasswords and created a password and it worked.

Re: E-Mail Notification Not Working For Me

Posted: September 29th, 2014, 4:08 am
by sander
microzoa wrote:I'm wondering if you have 2 factor authentication turned on? That was my issue. Simply went into Google apps https://security.google.com/settings/se ... ppasswords and created a password and it worked.
I have 2 factor authentication turned on on my gmail, and I can just send mail via gmail-smtp-in.l.google.com (or: 74.125.133.26:25 to avoid IPv6 connections) without a user name / password filled out, as long as the From and To are my gmail address