[BangPypers] pdf attachment in mail
vnbang2003 at yahoo.com
Wed Oct 1 06:38:10 CEST 2008
Am facing problem with pdf attachment in mail. I have created pdf when i try to read it code look like below.
attachment.add_header('Content-Disposition', 'attachment', filename=filename)
I get "AttributeError: "PDFTfm instance has no attribute 'read'" - where PDFTfm is class for pdf creation.
when I print pdf I see <PDFTfm instance at 0xb60369cc>
Can some one please help me in this.
Unlimited freedom, unlimited storage. Get it now, on http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the BangPypers