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

Mon Oct 25 15:56:51 UTC 2010
John Doe <jdmls at yahoo.com>

From: Sven Aluoor <aluoor at gmail.com>

> On Thu, Oct 21, 2010 at 6:12 PM, John Doe <jdmls at yahoo.com> wrote:
> > Not sure  about outlook but the following works for me and tbird:
> > Add  "Content-type: text/html" at the begining...
> This doesn't work with M$  Outlook. I receive a plain text mail with
> the contents:

This does not work for me either... with mailx...
but with sendmail, it works.

$ cat <<EOF | /usr/sbin/sendmail -t
Subject: test
to: jd at example.com
Content-type: text/html
<table border='1' width='90%' align='center' summary='Script output'>
<tr><td align="right">15361753</td></tr>