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.

Reply via email to