smtplib not working as expected
Juan Christian
juan0christian at gmail.com
Sat Dec 27 08:47:49 EST 2014
On Sat Dec 27 2014 at 1:23:12 AM Vincent Vande Vyvre <
vincent.vande.vyvre at telenet.be> wrote:
Try with the TLS:
Many thanks, working like a charm, code:
server = smtplib.SMTP('smtp.mail.ru')
server.starttls()
server.ehlo()
server.login('SENDER EMAIL GOES HERE', 'PASSWD GOES HERE')
server.sendmail(fromaddr, toaddrs, msg)
server.quit()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141227/eac4df3f/attachment.html>
More information about the Python-list
mailing list