[Buildbot] #3375: Buildbot email notification error -twisted.mail.smtp.AUTHRequiredError

Buildbot trac trac at buildbot.net
Sat Oct 24 00:47:42 UTC 2015

#3375: Buildbot email notification error -twisted.mail.smtp.AUTHRequiredError
Reporter:  peoliye  |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.12   |   Keywords:  mail
 I am trying to use mailnotiifer to send the autoamted mail to notify the
 users of the build result after the build is complete.

 from buildbot.status.mail import MailNotifier
 mn = MailNotifier(fromaddr="someuser at gmail.com",
         extraRecipients=["someuser at gmail.com"],
         relayhost="smtp.gmail.com", smtpPort=587,
         smtpUser="someuser at gmail.com", smtpPassword="some_pwd")

 I am getting below error.
     Traceback (most recent call last):
     Failure: twisted.mail.smtp.AUTHRequiredError: 502 Server does not
 support Client Authentication schemes [CRAM-MD5, LOGIN, PLAIN]
     <<< 250-PIPELINING
     <<< 250-CHUNKING
     <<< 250 SMTPUTF8
 I am able to use below python code to send a mail.
 * [http://ideone.com/7dDXs0]

Ticket URL: <http://trac.buildbot.net/ticket/3375>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation

More information about the bugs mailing list