develooper Front page | perl.pep | Postings from November 2014

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

Thread Previous
From:
Octavian Rasnita
Date:
November 16, 2014 10:51
Subject:
Re: Where is the attached file opened with Email::MIME?
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" <normalperson@yhbt.net>
To: "Octavian Rasnita" <orasnita@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 <orasnita@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. 


Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About