attach a pdf file to an email

nonamehkg at hotmail.com nonamehkg at hotmail.com
Mon Dec 19 00:25:42 EST 2005


Hi, I am writing a simple program that sends emails with attachments.

I could use "MIMEImage" for .png and then attach it to an
"MIMEMultipart" object. But I couldn't or don't know how to attachment
a .pdf or something else to my emails.

I'm new to python, could somebody help me about that?


Thank You,


kychan




More information about the Python-list mailing list