nt: Tuesday, November 27, 2001 4:06 AM
To: [EMAIL PROTECTED]
Subject: Re: Send e-mail attachment
From: "paul beckett (JIC)" <[EMAIL PROTECTED]>
> Does anybody know how I can send a smallish binary file as an e-mail
> attachment, from perl (runn
Or, just use MIME::Lite or another module which does these things for you :)
Cheers,
Kevin
On Tue, Nov 27, 2001 at 09:20:35AM -0600, Tomasi, Chuck ([EMAIL PROTECTED]) said
something similar to:
> Here's one I can answer! I agonized over this for weeks, but finally got a
> decent solution that
--
From: Paul Jasa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 10:09 AM
To: 'Bob Showalter'; [EMAIL PROTECTED]
Subject: RE: Send e-mail attachment
Good question. I think that is done so that you can write other things to
the LETTER prior to mailing it?
Paul
-
Here's one I can answer! I agonized over this for weeks, but finally got a
decent solution that I use every day!
For a binary file I would recommend "use MIME:Base64". An example is
provided.
Notes:
o You'll want to use multi-part MIME encoding (hence the use of
MIME::Base64). You cou
---Original Message-
From: Paul Jasa [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 27, 2001 10:09 AM
To: 'Bob Showalter'; [EMAIL PROTECTED]
Subject: RE: Send e-mail attachment
Good question. I think that is done so that you can write other things to
the LETTER prior to mailing i
> -Original Message-
> From: Paul Jasa [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 10:09 AM
> To: 'Bob Showalter'; [EMAIL PROTECTED]
> Subject: RE: Send e-mail attachment
>
>
> Good question. I think that is done so that you can wri
attachment
Importance: High
> -Original Message-
> From: Paul Jasa [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 9:53 AM
> To: 'paul beckett (JIC)'; [EMAIL PROTECTED]
> Subject: RE: Send e-mail attachment
>
>
> Paul,
> one of my favorite lin
> -Original Message-
> From: Paul Jasa [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 27, 2001 9:53 AM
> To: 'paul beckett (JIC)'; [EMAIL PROTECTED]
> Subject: RE: Send e-mail attachment
>
>
> Paul,
> one of my favorite lines in my scripts is:
Paul,
one of my favorite lines in my scripts is:
open LETTER, "|mailx -s "SUBject Here!!" someone\@somewhere.com <
/some/file";
open LETTER, "|mail -s "SUBject Here!!" someone\@somewhere.com <
/some/file";
This sends an email with an whatever is in /some/file in the body. I don't
know if this
From: "paul beckett (JIC)" <[EMAIL PROTECTED]>
> Does anybody know how I can send a smallish binary file as an e-mail
> attachment, from perl (running on UNIX (OSFv.4.0))
Either MIME-lite or Mail::Sender. Both available from CPAN
Jenda
=== [EMAIL PROTECTED] == http://J
10 matches
Mail list logo