adding program output to mail

adding program output to mail

Post by Peter Hinkl » Sun, 08 Apr 2001 06:48:46



Hello, how does one go about adding the output of a given text based
program to all outgoing mail in a manner such as a company wide signature
file? Thanks Peter
 
 
 

adding program output to mail

Post by The Spoo » Sun, 15 Apr 2001 07:34:17


Peter Hinkle wrote ...

Quote:>Hello, how does one go about adding the output of a given text based
>program to all outgoing mail in a manner such as a company wide signature
>file? Thanks Peter

This probably depends on the mail-program you use. If your mail program
supports adding a specific file as a signature, you could create a program
that produces the output to a FIFO (named pipe) and make the mail program
read the signature from this FIFO. I've seen this solution mentioned on and
off for some years, so it's just a matter of finding it somewhere on the
net.

  /TRY