Hi.
I try send a mail with smtplib
Server work with postfix.
I try it
------------------------------------------------ 
 import smtplib
 s=smtplib.SMTP("localhost")
tolist=['[email protected]']
msg = '''\
 From: [email protected]
Subject: testin'
This is a test '''
s.sendmail("t...@local", tolist, msg)
-------------------------------------------------
How can i send the file?
And I am not sure that work.
Mail is not sending but  perhaps problem i in my postfix.
 
-- 
Grigor Kolev <[email protected]>

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to