email attachment solution found

Mark Carter cartermark46 at
Wed Dec 10 18:36:48 CET 2003

I found the answer to my previous question:

You don't need the preamble or the epilogue, all you need is the code:
body = MIMEText('This is the body of the email!') #Here is the body

More information about the Python-list mailing list