<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi GK,<br>
<br>
unfortunately twisted-mail isn't ported to Python 3 and I don't
think it will be ported at all:
<a class="moz-txt-link-freetext" href="http://fedora.portingdb.xyz/pkg/python-twisted-mail/">http://fedora.portingdb.xyz/pkg/python-twisted-mail/</a><br>
If you can live with Python 2, you will have mail sending
capabilities.<br>
<br>
I didn't had time to research if it's possible and how to change
Buildbot to use different mail package so I'm not sure if such
option is available in case of BB for Python 3.<br>
<br>
Bye,<br>
Drago<br>
</p>
<br>
<div class="moz-cite-prefix">On 06/09/2017 08:07 AM, GK Gk wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHq5TR+ZwnZAk0gJ=+N=x0QEsSB3yJJ9s7S1oVnGszK7UJm2Xg@mail.gmail.com">
<div dir="ltr">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 <span
style="color:rgb(67,67,67);font-family:Tahoma,Arial,宋体,"Malgun
Gothic";font-size:12px;line-height:24px;background-color:rgb(242,242,242)">relevant
code in master.cfg:</span>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343"><span style="font-size:12px"><br>
</span></font></div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343"><span style="font-size:12px">Env:</span></font></div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343"><span style="font-size:12px">python3.4
ubuntu16.04 server </span></font></div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343"><span style="font-size:12px">Code:</span></font></div>
</blockquote>
<blockquote style="margin:0px 0px 0px
40px;border:none;padding:0px">
<div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343">
<div><span style="font-size:12px">c['services'] = []</span></div>
</font></div>
</div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343">
<div><span style="font-size:12px">from
buildbot.reporters.mail import MailNotifier</span></div>
</font></div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343">
<div><span style="font-size:12px">mn =
MailNotifier(fromaddr='<a href="mailto:xx@gmail.com"
moz-do-not-send="true">xx@gmail.com</a>',
relayhost="<a href="http://smtp.gmail.com"
moz-do-not-send="true">smtp.gmail.com</a>",extraRecipients=["<a
href="mailto:xx@gmail.com" moz-do-not-send="true">xx@gmail.com</a>"],
smtpPort=587, smtpUser="xxx", smtpPassword="xxx")</span></div>
</font></div>
<div><font face="Tahoma, Arial, 宋体, Malgun Gothic"
color="#434343">
<div><span style="font-size:12px">c['services'].append(mn)</span></div>
<div><span style="font-size:12px"><br>
</span></div>
</font></div>
</blockquote>
<font face="Tahoma, Arial, 宋体, Malgun Gothic" color="#434343"><span
style="font-size:12px"> i have installed twisted using "pip
install Twisted", and as my consideration, buildbot cannot
work if i failed to install it. </span></font><span
style="color:rgb(67,67,67);font-family:Tahoma,Arial,宋体,"Malgun
Gothic";font-size:12px">Is my code error or i have not
installed necessary library, anyone could give me some
comment, appreciate your help.</span>
<div><br>
</div>
<div>
<div>
<div><span
style="color:rgb(67,67,67);font-family:Tahoma,Arial,宋体,"Malgun
Gothic";font-size:12px;line-height:24px;background-color:rgb(242,242,242)"><br>
</span></div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@buildbot.net">users@buildbot.net</a>
<a class="moz-txt-link-freetext" href="https://lists.buildbot.net/mailman/listinfo/users">https://lists.buildbot.net/mailman/listinfo/users</a></pre>
</blockquote>
<br>
</body>
</html>