Hi All,
           Am facing problem with pdf attachment in mail. I have created pdf 
when i try to read it code look like below.
               pdf=self.getTfmPdf()
               attachment.set_payload(pdf.read())
               Encoders.encode_base64(attachment)
               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.



Cheers,
 Vijay 


      Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
_______________________________________________
BangPypers mailing list
[email protected]
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to