Getting "empty" attachment with smtplib

Tobiah toby at
Thu Nov 15 18:26:21 CET 2012

> I can already say that "smtplib" is not to blame. It is (mostly) unconcerned
> with the internal structure of the message -- and by itself
> will not empty attachments.

On the advice of a co-worker, I tried using web2py's  It
was easier to accomplish the attachment, and Thunderbird opened the .pdf
just fine.

Thanks for the suggestions.


More information about the Python-list mailing list