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

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

 



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: pgployE4jnDbu.pgp
Description: PGP signature


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

  Powered by Linux