I hope somebody can put me out of my misery.
I am trying to send an html formatted file from my Solaris 9 machine using mailx. The file will be automaticaly generated and similar to the format below...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
</HEAD>
<BODY>
<B>From:</B> Fred Bloggs [fred.flintstone@whatever.co.uk <BR>
<B>Sent:</B> 21 July 2005 22:10<BR>
<B>To:</B> fred.flintstone@whatever.co.uk<BR>
<B>Subject:</B> bold<BR> <DIV><FONT face=Arial size=2>
<BR>
<SPAN class=625193719-19072005>07 08 <STRONG>09</STRONG> 10 11 12 13 <STRONG>14<
/STRONG> 15</SPAN></FONT></DIV>
</BODY>
</HTML>
I am using the command
$ cat thefile.htm | mailx -r ${from} -s "${title}" ${to}
The mail arrives okay but the html content is not executed, simply listed as a text file.
Is there a solution?
Any help much appreciated.
Les....![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)
I am trying to send an html formatted file from my Solaris 9 machine using mailx. The file will be automaticaly generated and similar to the format below...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1505" name=GENERATOR>
</HEAD>
<BODY>
<B>From:</B> Fred Bloggs [fred.flintstone@whatever.co.uk <BR>
<B>Sent:</B> 21 July 2005 22:10<BR>
<B>To:</B> fred.flintstone@whatever.co.uk<BR>
<B>Subject:</B> bold<BR> <DIV><FONT face=Arial size=2>
<BR>
<SPAN class=625193719-19072005>07 08 <STRONG>09</STRONG> 10 11 12 13 <STRONG>14<
/STRONG> 15</SPAN></FONT></DIV>
</BODY>
</HTML>
I am using the command
$ cat thefile.htm | mailx -r ${from} -s "${title}" ${to}
The mail arrives okay but the html content is not executed, simply listed as a text file.
Is there a solution?
Any help much appreciated.
Les....
![[ponder] [ponder] [ponder]](/data/assets/smilies/ponder.gif)