On Fri, Sep 16, 2005 at 07:07:23AM +0800, Ow Mun Heng wrote: > 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 > working already. The only problem is the HTML is well, not displayed as > HTML, it's displayed RAW(and not formatted). > > I'm using cron to send the email out. >
Try using the mail command.... behold the power of google: http://www.debian-administration.org/articles/171 to put it simply: mail -a "Content-type: text/html;" -s "Your Daily Stock Quote" [EMAIL PROTECTED] < filename.html HTH W -- I know that there are people in this world who do not love their fellow man, and I HATE people like that. -- Tom Lehrer Sortir en Pantoufles: up 35 days, 3:49 -- gentoo-user@gentoo.org mailing list