On Mon, Oct 25, 2010 at 5:16 PM, Bart Schaefer <barton.schaefer at gmail.com> wrote: > The trouble here is that to have it properly rendered as HTML on > receipt, it has to be tagged as HTML in the *headers* of the message. > In your example, the headers are created by mailx, which is a very old > interface that doesn't know how to apply the appropriate tagging. > > You may be able to fool it by doing this (note placement of newlines > is important, also removed unnecessary use of cat and subshell): > > mailx -s "Test HTML output in outlook > MIME-Version: 1.0 > Content-Type: text/html" sven.aluoor at ubs.com < /tmp/coi.html Thanks you Bart. Works very well :-) > If that doesn't work, you're going to have to avoid using mailx and > construct the message header yourself. I am just curious (I have my solution): what are alternatives for sending mails on Linux command line? cheers Sven