[CentOS] send HTML formatted mail (for M$ Outlook) with mailx

Benjamin Franz jfranz at freerun.com
Mon Oct 25 11:58:16 EDT 2010


On 10/25/2010 08:31 AM, Sven Aluoor wrote:
>
> I am just curious (I have my solution): what are alternatives for
> sending mails on Linux command line?

Perl works well (especially if you want to do things like make HTML 
mails correctly).

Here is a walk through for doing it:

http://www.revsys.com/writings/perl/sending-email-with-perl.html

At the other end of sophistication, you can just pipe it right into 
sendmail:

http://www.perlfect.com/articles/sendmail.shtml

-- 
Benjamin Franz


More information about the CentOS mailing list