Re: Where is the attached file opened with Email::MIME?
[email protected] ("Octavian Rasnita") Sun, 16 Nov 2014 12:51:08 +0200
| Newsgroups | perl.pep |
|---|---|
| Message-ID | <E541A18D0D89429B84ACCC0A7B89984D@octavianf303f0> |
Thank you. Yes, using base64 worked fine. I just copied "quoted-printable" from the POD doc of Email::MIME. --Octavian ----- Original Message ----- From: "Eric Wong" <[email protected]> To: "Octavian Rasnita" <[email protected]> Cc: <[email protected]> Sent: Sunday, November 16, 2014 9:29 AM Subject: Re: Where is the attached file opened with Email::MIME? > Octavian Rasnita <[email protected]> wrote: >> Email::MIME->create( >> body => $pdf, >> attributes => { >> content_type => "application/pdf", >> name => "bogus-report.pdf", >> filename => "bogus-report.pdf", >> encoding => "quoted-printable", > > Can you try "base64" instead of "quoted-printable" for the > attachment? For largely non-ASCII data (such as PDF), > base64 will be smaller.