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

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



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

Attachment: pgpKzWN6ELPLn.pgp
Description: PGP signature


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