7segment
unread,Sep 23, 2012, 5:23:40 AM9/23/12You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
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!