in reply to Re^2: email pdf file - file damaged
in thread email pdf file - file damaged
I would maybe use File::Slurp::slurp or write my own file slurper:
sub slurp { open my $fh, "<", $_[0] or die "Couldn't open '$_[0]' for reading: $!"; binmode $fh; local $/; my $result = <>; };
Maybe your (Content-)Encoding of quoted-printable is inappropriate for the type of file you're sending? I would think a Content-Encoding that uses base64 would be better maybe, if Email::Simple supports such. But then, I use MIME::Lite for most of my mailing needs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: email pdf file - file damaged
by madison.sacd (Novice) on May 07, 2007 at 07:55 UTC | |
by ultranerds (Hermit) on Mar 29, 2019 at 11:55 UTC |