Subject: Using pine in script file to automate sending reports to users

From: "Tauer, Pam" <[email-masked]>
Date: Thu, 24 Jul 1997 14:30:02 -0400

I'd like to invoke pine in a script file to mail reports as attachments
to users without using menu interface.   Played around with the
keystroke qualifier with limited success.   Is this feasible?

pam tauer
[email-masked]

---

From: "Robin S. Socha" <[email-masked]>
Date: 27 Jul 1997 18:40:31 +0200

>> "TP" == Tauer, Pam <[email-masked]> writes:

TP> I'd like to invoke pine in a script file to mail reports as
TP> attachments to users without using menu interface.  Played
TP> around with the keystroke qualifier with limited success.  Is
TP> this feasible?

No. Besides, writing a shell script that uses pine is pretty
lame. Try saying:

	uuencode <filename> <filename> | mail [1] [email-masked]

for binaries or simply 
	
	cat <filename> | mail [email-masked]

for ascii files.

Say:

	man mail

for further information on stuff like bcc:, cc: and others. If you
really *need* to use a "regular" mailprogram, try 
	
	mutt -a filename

Later,
Robin

Footnotes: 
[1]  check what flavour of mail you're using, but it should work like
this. 

-- 
Robin S. Socha, M.A.
Political Science Dept., Bonn University, Bonn
On the package it said: "Requires MS Windows 3.11 or better"  
                                  ... so I got myself Linux.