[users at bb.net] error "twisted-mail is not installed - cannnot send mail"

GK Gk qzqsmile at gmail.com
Fri Jun 9 06:07:32 UTC 2017


Recently i try to deploy my project into buildbot. Buildbot work prefect
except mail module. it always show error"twisted-mail is not installed.
cannot send mail" when i update master.cfg. below is email moudle relevant
code in master.cfg:


Env:
python3.4  ubuntu16.04 server
Code:

c['services'] = []
from buildbot.reporters.mail import MailNotifier
mn = MailNotifier(fromaddr='xx at gmail.com', relayhost="smtp.gmail.com
",extraRecipients=["xx at gmail.com"], smtpPort=587, smtpUser="xxx",
smtpPassword="xxx")
c['services'].append(mn)

 i have installed twisted using "pip install Twisted", and as my
consideration, buildbot cannot work if i failed to install it. Is my code
error or i have not installed necessary library, anyone could give me some
comment, appreciate your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170609/f055a109/attachment.html>


More information about the users mailing list