Subject: help with mailing with attachemnt from command line

From: Artemy Ivanov <[email-masked]>
Date: Thu, 25 Apr 2002 16:58:04 +0400

Hi, All!

I'm not sure that my question could be really assigned to the pine
society.
I have the following problem:

It is not a secret that one could send email directly from Unix shell
(we use Linux, bash, etc...) with the help of 'mail' program,
e.g. $mail -s "some news" [email-masked] < news_file

I need to send some files as email attachment, with single shell
command.
Nowdays I'm using expect script that spawn pine program:
spawn pine -attach_list file1 file2  [email-masked]
after that send CTRLX, send "y".

Could you please inform me about additional ways to resolve my problem

Thank you.
Artemii S. Ivanov

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Thu, 25 Apr 2002 18:31:25 -0700 (PDT)

*** Artemy Ivanov ([email-masked]) wrote today:

:) I need to send some files as email attachment, with single shell
:) command. Nowdays I'm using expect script that spawn pine program: spawn
:) pine -attach_list file1 file2 [email-masked] after that send CTRLX,
:) send "y".
:)
:) Could you please inform me about additional ways to resolve my problem

You can try a patch that I wrote, which allows you to do this, and which
can be obtained from my web page (address below).

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/