Irrespective of the syntax problem, this approach isn't going to work anyway, because mail is not a shell built-in. In other words, the shell itself cannot send mail. So, unless you have some shell-external program or module installed that will do the actual sending, you won't have much luck sending mail that way...
In reply to Re: use Shell
by almut
in thread use Shell
by sharath
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |