Opened 3 years ago

Closed 3 years ago

#3375 closed defect (fixed)

Buildbot email notification error -twisted.mail.smtp.AUTHRequiredError

Reported by: peoliye Owned by:
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="",
        relayhost="", smtpPort=587,
        smtpUser="", 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.

Change History (1)

comment:1 Changed 3 years ago by peoliye

  • Resolution set to fixed
  • Status changed from new to closed

I just had to install pyopenssl to fix this problem. You need to use pip to install as buildbot using virtual environment.

Note: See TracTickets for help on using tickets.