Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread Ow Mun Heng
On Tue, 2005-09-20 at 01:23 -0400, A. Khattri wrote: > On Tue, 20 Sep 2005, Ow Mun Heng wrote: > > > I did it, didn't have to go through perl. Just added a mail_header() to > > my script. > > #!/bin/sh > > # > > TEMPFILE="/tmp/file.$$" > > PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh > > > > $PORT

Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread A. Khattri
On Tue, 20 Sep 2005, Ow Mun Heng wrote: > I did it, didn't have to go through perl. Just added a mail_header() to > my script. > mail_header() > { > echo "MIME-Version:1.0" > echo "From:[EMAIL PROTECTED]" > echo "To:$RECIPIENT" > echo "Subject:Quotes $DATE" >

Re: [gentoo-user] Help with Script that sends out HTML emails[SOLVED-Agn]

2005-09-19 Thread Ow Mun Heng
On Sun, 2005-09-18 at 22:36 -0500, John Jolet wrote: > On Sunday 18 September 2005 22:11, A. Khattri wrote: > > On Mon, 19 Sep 2005, Ow Mun Heng wrote: > > > Be that as it may, I'm not Perl person (picked up the book, but haven't > > > really progressed anywhere hehe). > > > > > > But.. when push c

Re: [gentoo-user] Help with Script that sends out HTML emails [SOLVED]

2005-09-15 Thread Nick Rout
On Fri, 16 Sep 2005 09:43:50 +0800 Ow Mun Heng wrote: > That's what I just did.. > $ cat cron_fetch_stock.sh > #!/bin/bash > # > TEMPFILE="/tmp/file.$$" > PORTFOLIO_SCRIPT=$HOME/scripts/portfolio.sh > > $PORTFOLIO_SCRIPT --html > $TEMPFILE 2>/dev/null>&1 && mail -a > "Content-Type: text/html" -

Re: [gentoo-user] Help with Script that sends out HTML emails [SOLVED]

2005-09-15 Thread Ow Mun Heng
On Thu, 2005-09-15 at 20:30 -0500, John Jolet wrote: > On Sep 15, 2005, at 8:14 PM, Ow Mun Heng wrote: > > > 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 bas

Re: [gentoo-user] Help with Script that sends out HTML emails [SOLVED]

2005-09-15 Thread John Jolet
On Sep 15, 2005, at 8:14 PM, Ow Mun Heng wrote: 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

Re: [gentoo-user] Help with Script that sends out HTML emails [SOLVED]

2005-09-15 Thread Ow Mun Heng
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