Gentoo Archives: gentoo-user

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Help with Script that sends out HTML emails
Date: Sat, 17 Sep 2005 01:02:36
Message-Id: 1126918582.15536.13.camel@neuromancer.home.net
In Reply to: Re: [gentoo-user] Help with Script that sends out HTML emails by Willie Wong
1 On Thu, 2005-09-15 at 20:47 -0400, Willie Wong wrote:
2 > On Fri, Sep 16, 2005 at 07:07:23AM +0800, Ow Mun Heng wrote:
3 > > Hi,
4 > >
5 > > I'm writing a bash script that basically checks for stocks prices and I
6 > > want the formatted output to be mailed to me. I've got the script
7 > > working already. The only problem is the HTML is well, not displayed as
8 > > HTML, it's displayed RAW(and not formatted).
9 > >
10 > > I'm using cron to send the email out.
11 > >
12 >
13 > Try using the mail command....
14 >
15 > behold the power of google:
16 >
17 > http://www.debian-administration.org/articles/171
18 >
19 > to put it simply:
20 >
21 > mail -a "Content-type: text/html;" -s "Your Daily Stock Quote" you@××××××.com < filename.html
22
23 I have another problem now. for some reason, the system I was developing
24 for (FC3), the mail command does not have a "-a" option.
25
26 I'm still searching for the correct mail 'version' in fc3. Anyone else
27 has any more suggestions?
28
29 > Sortir en Pantoufles: up 35 days, 3:49
30
31 --
32 Ow Mun Heng
33 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
34 98% Microsoft(tm) Free!!
35 Neuromancer 08:56:21 up 12:56, 7 users, load average: 0.27, 0.37, 0.36
36
37
38 --
39 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Help with Script that sends out HTML emails "A. Khattri" <ajai@××××.net>
Re: [gentoo-user] Help with Script that sends out HTML emails Nick Rout <nick@×××××××.nz>