On Thu, 2005-09-15 at 20:47 -0400, Willie Wong wrote:
> 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 

I have another problem now. for some reason, the system I was developing
for (FC3), the mail command does not have a "-a" option. 

I'm still searching for the correct mail 'version' in fc3. Anyone else
has any more suggestions?

> Sortir en Pantoufles: up 35 days,  3:49

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 08:56:21 up 12:56, 7 users, load average: 0.27, 0.37, 0.36 


-- 
gentoo-user@gentoo.org mailing list

Reply via email to