[users at bb.net] MailNotifier unable to send

Riccardo Corsi riccardo.corsi at kairos3d.it
Thu Feb 16 16:32:58 UTC 2017


Hi,

I have the exact same problem here.
Running 0.9.3. on Windows 10 machine (actually VM with VirtualBox)

Ricky

On Thu, Feb 16, 2017 at 5:10 PM, Chris Spencer <chrisspen at gmail.com> wrote:

> The MailNotifier is not working for me in 0.9. It was working perfectly in
> 0.8, and most of the settings seemed to have remained the same, so I copied
> over what I had before, giving me the configuration:
>
>     mn = reporters.MailNotifier(
>         fromaddr="buildbot at mydomain.com",
>         sendToInterestedUsers=True,
>         useTls=True,
>         relayhost="smtp.gmail.com",
>         smtpPort=587,
>         smtpUser="buildbot at mydomain.com",
>         smtpPassword=SUPER_SECRET_PASSWORD,
>     )
>     c['services'].append(mn)
>
> However, I'm no longer receiving emails and twistd.log shows the error:
>
>     2017-02-16 16:03:02+0000 [-] sending mail (692 bytes) to ['
> me at mydomain.com']
>     2017-02-16 16:03:02+0000 [-] Starting factory <twisted.mail.smtp.ESMTPSenderFactory
> instance at 0x7fc38d3ad518>
>     2017-02-16 16:03:02+0000 [-] Unhandled error in Deferred:
>     2017-02-16 16:03:02+0000 [-] Unhandled Error
>         Traceback (most recent call last):
>         Failure: twisted.mail._except.TLSRequiredError: 502 Server does
> not support secure communication via TLS / SSL
>         <<< 250-8BITMIME
>         <<< 250-STARTTLS
>         <<< 250-ENHANCEDSTATUSCODES
>         <<< 250-PIPELINING
>         <<< 250-CHUNKING
>         <<< 250 SMTPUTF8
>
> Now, I know for a fact that Gmail supports TLS because I'm using it in
> several other applications with TLS enabled just fine, and I TLS was
> enabled with the 0.8 mail notifier, which also worked just fine. Why am I
> getting this error?
>
>
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170216/9ff52548/attachment.html>


More information about the users mailing list