Usually I advocate the
sendmail route if you are on a *nix box. Just recently however I've had the pleasure of creating Perl programs that run on Windows desktops. In order for those boxes to send out e-mails I've had some great success using
MIME::Lite and thoroughly recommend it.
--
vek
--