Hi. I have written a program to send email using python. However, I want to use msmtp for delegating the sending to my gmail account. So this part should be changed but I have no idea how! In theory the "sendmail" function should automatically call msmtp, but i don't know how to define "s" then.
s = smtplib.SMTP('localhost') s.sendmail(me, family, msg.as_string()) s.quit() Any help would be appreciated! -- http://mail.python.org/mailman/listinfo/python-list