in reply to Re^3: sendmail AND color
in thread sendmail AND color

use Term::ANSIColor; print color("red"), "Stop!\n", color("reset"); print color("green"), "Go!\n", color("reset");

Replies are listed 'Best First'.
Re^5: sendmail AND color
by eXile (Priest) on Aug 24, 2006 at 05:23 UTC
    That's a nice one too, but I think it'll only work if the email is read in a text-based email client in a (UNIX) terminal window that supports the color escape characters (that a setup quite a small fraction of the world population uses for reading their email).