[BangPypers] pdf attachment in mail
Anand Balachandran Pillai
abpillai at gmail.com
Mon Oct 6 09:03:13 CEST 2008
If you need help, make sure you post some
more context here. We cannot help without knowing
how and where you are trying to do this, which email
module you are using etc.
If it is an open source code, you can post it
or point out the location. If it proprietary, post enough
context so that others can figure things out.
On Wed, Oct 1, 2008 at 10:08 AM, VIJAY KUMAR <vnbang2003 at yahoo.com> wrote:
> Hi All,
> 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',
> 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.
> Add more friends to your messenger and enjoy! Invite them now.
> BangPypers mailing list
> BangPypers at python.org
More information about the BangPypers