On Sun, 2005-09-18 at 22:44 -0400, Sam Varshavchik wrote:
Ow Mun Heng writes:
On Fri, 2005-09-16 at 09:40 +0800, Ow Mun Heng wrote:
On Thu, 2005-09-15 at 21:02 -0400, Sam Varshavchik wrote:
Ow Mun Heng writes:
Hi,
I'm writing a bash script that basically checks for stocks
prices and I want the formatted output to be mailed to me. I've got the script
mail -a "Content-Type: text/html"
Okay.. for some reason, FC3's version of mailx (8.1.33) does not have the "-a" option to mail.
Any other ideas?
You can format the entire mail message yourself, and pipe it to sendmail. That's all that mailx, itself, does anyway.
Consider this as an opportunity for you to learn about proper E-mail formats.
Believe it or not, I've actually done this before, but using mail -a would have been a simpler matter comparatively. :-(