powerhouse has asked for the wisdom of the Perl Monks concerning the following question:

I'm using Mail::Sendmail (version 0.79). I'm looking at the documentation on CPAN. All I can see is that emails are stored in memory, so sending big attachments is not a good idea.

I'm trying to get my script to send a 970KB Zip file, via attachment. Where can I find a document that will show how to use Mail::Sendmail to do so?

I scanned the Cpan doc on it, a few times, but did not see any examples on it. I thought I might have missed it, and maybe I did. But I don't see it. Can someone help me out?

I'd appreciate being pointed in the correct path.

thx,
Richard

Replies are listed 'Best First'.
Re: Mailing Attachments
by davorg (Chancellor) on Jun 30, 2003 at 08:25 UTC

    For mail with attachments you probably want to look a MIME::Lite.

    --
    <http://www.dave.org.uk>

    "The first rule of Perl club is you do not talk about Perl club."
    -- Chip Salzenberg

Re: Mailing Attachments
by PodMaster (Abbot) on Jun 30, 2003 at 06:53 UTC
    You need to read How to RTFM and introduce yourself to Super Search. The first will teach you where to find/look for documentation, and the 2nd will let you search for "Mail::Sendmail" in the content of perlmonks posts (combine it with "attachment" in titles and you've got gold).

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Mailing Attachments
by powerhouse (Friar) on Jun 30, 2003 at 06:09 UTC
    Ah-ha. I found it: http://search.cpan.org/author/MIVKOVIC/Mail-Sendmail-0.79/Sendmail.pm

    Sorry to bug you ;o)

    thx,
    Richard