[Tutor] content disposition header: email module

2006-09-06 Thread Justin Ezequiel
try something like the following (UNTESTED) code: from email.MIMEMultipart import MIMEMultipart from email.MIMEText import MIMEText from email.Message import Message def attch_send(self): msg = MIMEMultipart() #msg.add_header("From", sender) #msg.add_header("To", recv)

[Tutor] content disposition header: email module

2006-09-06 Thread nimrodx
Hi Python Gurus, I am trying to mail a txt file, then with another client I get the email and extract the text file. The email I send however, does not seem to turn out correctly. The content dispositon header is there, but it seems to be in the wrong place and my email client the text file just