On Sat, 2005-09-17 at 08:56 +0800, Ow Mun Heng wrote:
> >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.
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
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"
>
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
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 comes to shove
>
> Im assuming there is probably a CPAN modul
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 comes to shove
Im assuming there is probably a CPAN module that does most of this for you
- this is why I think Perl might
On Sat, 2005-09-17 at 01:15 -0400, A. Khattri wrote:
> On Sat, 17 Sep 2005, Ow Mun Heng wrote:
>
> > 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 f
On Sat, 17 Sep 2005, Ow Mun Heng wrote:
> 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?
Unless you're prepar
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
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" -
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
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
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
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 seems to me that you need a couple of other things:
1. a look at a couple of the html emails in my inbox show a mail
header (ie part of the email where stuff like from, to and subject go) like
this:
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="_=_NextPart_001_0
On Friday 16 September 2005 00:07, Ow Mun Heng wrote:
> 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 displaye
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 ema
17 matches
Mail list logo