echo $MSG | mail -s "Mailtest" [EMAIL PROTECTED] -jim
I tried:
export MSG="Some Message"
mail -s "Mail Test" [EMAIL PROTECTED] < /bin/echo $MSG
And I get the contents of the file /bin/echo :-(
I also tried mail -s "Mail Test" [EMAIL PROTECTED] < $MSG
And bash tells me "$MSG: ambiguous redirect"
Oh well, back to Roger's way and using sendmail, I guess...
Tim
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users
