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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-09-18 at 22:44 -0400, Sam Varshavchik wrote:
> Ow Mun Heng writes:
> 
> > On Fri, 2005-09-16 at 09:40 +0800, Ow Mun Heng wrote:
> >> On Thu, 2005-09-15 at 21:02 -0400, Sam Varshavchik wrote:
> >> > Ow Mun Heng writes:
> >> > 
> >> > > 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

> >> mail -a "Content-Type: text/html"
> > 
> > Okay.. for some reason, FC3's version of mailx (8.1.33) does not have
> > the "-a" option to mail.
> > 
> > Any other ideas?
> 
> You can format the entire mail message yourself, and pipe it to sendmail.  
> That's all that mailx, itself, does anyway.
> 
> Consider this as an opportunity for you to learn about proper E-mail 
> formats.

Believe it or not, I've actually done this before, but using mail -a
would have been a simpler matter comparatively. :-(


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 10:52:05 up 1:09, 6 users, load average: 1.04, 0.63, 0.58 



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux