Peter Ruskin wrote:

Try:
sendmail [EMAIL PROTECTED] < ./script.sh

No, that will send the _contents_ of script.sh to recipient, not the output of executing the script. I think you meant:

./script.sh | sendmail [EMAIL PROTECTED]

-Richard

--
gentoo-user@gentoo.org mailing list

Reply via email to