Sending mail error with python smtplib

The following works for microsoft, google, yahoo accounts on Python 2.7 and Python 3.2: #!/usr/bin/env python # -*- coding: utf-8 -*- “””Send email via smtp_host.””” import smtplib from email.mime.text import MIMEText from email.header import Header ####smtp_host=”smtp.live.com” # microsoft ####smtp_host=”smtp.gmail.com” # google smtp_host=”smtp.mail.yahoo.com” # yahoo login, password = … recipients_emails = [login] msg = MIMEText(‘body…’, ‘plain’, … Read more