[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Email attachments and library files



At 11:21 -0500 2000.07.21, Frances K. Schuetz wrote:
>I am using Net::SMTP to send the actual email message. I searched and
>could find no documentation on using Net::SMTP to send an attachment. Is
>this possible?

I use MIME::Entity.


>The others keep producing errors such as this when I try to use
>cpan-mac-0.40 to install them:
>Warning: checksum mismatch, b66, 406a
># Use of uninitialized value.
>File 'Rocketship:MacPerl  :lib:IO:File.pm'; Line 181
># Unable to open the data fork of :MIME-tools-4.124:testin:(bunch of
>messed up characters).
>File 'Rocketship:MacPerl  :site_perl:ExtUtils:MM_MacOS.pm'; Line 1026

The problem is that cpan-mac guesses a macbinary file is one ending in .bin
and is binary.  This is not correct; it thinks the .bin file is macbinary,
it tries to convert it, and fails.  I believe Paul Schinder now has an
is_binary function that should be used instead.  This is on my personal
TODO list.  However, my guess is that it is installed properly regardless,
since those files are just for testing.

So try using MIME::Entity now.  It is likely already installed properly.
If not, just unpack the MIME-Entity distribution with Stuffit Expander or
something (see http://pudge.net/macperl/macperlmodinstall.html for more
methods), and then drop the resulting folder on the installme droplet that
comes with cpan-mac.

-- 
Chris Nandor       |     pudge@pobox.com      |     http://pudge.net/
Andover.Net        | chris.nandor@andover.net | http://slashcode.com/

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org