SMTP question
LutherRevisited
lutherrevisited at aol.com
Sun Oct 17 04:01:36 EDT 2004
I'm trying to send an email this way:
msg = MIMEText(self.text_ctrl_1.GetValue())
msg['Subject'] = sub
msg['From'] = 'bossierbossman at yahoo.com'
msg['To'] = to
s = smtplib.SMTP('smtp.mail.yahoo.com')
s.set_debuglevel(1)
s.connect()
s.sendmail('bossierbossman at yahoo.com', to, msg)
s.quit()
but this is not working at all. Can someone point me in the right direction?
More information about the Python-list
mailing list