I want to write a program that sends email using Python\'s smtplib. I searched through the document and the RFCs, but couldn\'t find anything related to attachments. Thus,
What you want to check out is the email module. It lets you build MIME-compliant messages that you then send with smtplib.
email