Hi. I try send a mail with smtplib Server work with postfix. I try it ------------------------------------------------ import smtplib s=smtplib.SMTP("localhost") tolist=['grigor.ko...@gmail.com'] msg = '''\ From: grigor.ko...@gmail.com 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 <grigor.ko...@gmail.com>
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor