Re: Where is the attached file opened with Email::MIME?

2014-11-16 Thread Octavian Rasnita
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 normalper...@yhbt.net

To: Octavian Rasnita orasn...@gmail.com
Cc: pep@perl.org
Sent: Sunday, November 16, 2014 9:29 AM
Subject: Re: Where is the attached file opened with Email::MIME?



Octavian Rasnita orasn...@gmail.com 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. 




Re: Where is the attached file opened with Email::MIME?

2014-11-15 Thread Eric Wong
Octavian Rasnita orasn...@gmail.com 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.