Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Mailing Script Results

Kevin Fitzgerald wrote:

So what do I do?

I usually output whatever I want to a file from inside the script, add appropriate headers to the top (eg from, to etc etc) and then use sendmail (or equivalent) directly with something like

sendmail email@xxxxxxxxx < script_output_file

There is probably a better way, but this works fine for me.