procmail
[Top] [All Lists]

Re: adding a file

1997-05-05 01:22:00
"Chris" == Chris Allen <chrisall(_at_)dtc(_dot_)net> writes:

Chris> I want to add a file to every mailing that is send out. How can
Chris> I do this?

:0fb
* any conditions you might need
| cat - filename

Put this before the recipe that sends out the mailing. Or, you might
want to combine it with the recipe that sends out the mailing:

:0
* conditions
| cat - filename | $SENDMAIL -t

(Adapt this to whatever you are using.)

-- 
Guy Geens <ggeens(_at_)iname(_dot_)com>
Home Page: http://www.elis.rug.ac.be/~ggeens
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver) 

<Prev in Thread] Current Thread [Next in Thread>