Tagged Questions
3
votes
1answer
186 views
Why does sendmail work differently in different shells?
The following code works when I directly run it in bash shell:
SUBJECT="SUBJECT-"`date`;
MAIL_FROM="abc@site.com";
MAIL_TO="abc@site.com";
MAIL_CC="abc@site.com";
MAIL_FILE="/path/of/html/body.html";
...