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

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

 



On Mon, 2005-09-19 at 22:26 -0400, Sam Varshavchik wrote:
> Ow Mun Heng writes:
> 
> > 
> > $PORTFOLIO_SCRIPT --html > $TEMPFILE 2>/dev/null>&1
> > && /usr/sbin/sendmail -t < $TEMPFILE && rm $TEMPFILE
> > 
> > Next, I think the above code can be enhanced by not using a tempfile.
> > perhaps a < EOF 
> 
> Use a pipe:
> 
> $PORTFOLIO_SCRIPT --html | /usr/sbin/sendmail -t

Yep.. I did try that. It worked on my gentoo system, but IIRC it didn't
on my FC3 system. Will try again.


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 11:30:31 up 1 day, 1:48, 6 users, load average: 0.94, 0.59,
0.61 



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

  Powered by Linux