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

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

Thread Previous | Thread Next
From:
Eric Wong
Date:
November 16, 2014 07:30
Subject:
Re: Where is the attached file opened with Email::MIME?
Message ID:
20141116072952.GA8458@dcvr.yhbt.net
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 | Thread Next


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