Hi i need to send mail from my Unix server i used the below code.
From: TTS.OO.Monitoring.Operations
Subject: Error
X-Mailer: htmlmail 1.0
Mime-Version: 1.0
Content-Type: text/html; charset=US-ASCII
<HTML><head><style type='text/css'>
table.altrowstable { font-family: verdana,arial,sans-serif; font-size:13px; color:#333333 }
table.altrowstable th { border-width: 2px; border-style: solid; border-color: #a9c6c9; }
table.altrowstable td { border-width: 2px; border-style: solid; border-color: #a9c6c9; }
.oddrowcolor{ background-color:#d4e3e5;}
.evenrowcolor{ background-color:#c3dde0; }
</style></head><Body>
Hi All,
<BR></BR>
<TABLE class='altrowstable' id='alternatecolor'>
<TR bgcolor='#FFFF99' >
<TD>
TIMESTAMP | ORDERNO | SHIP_ADV_NO | REASON | EMPTY FIELDS
*******************************************************************************************************************************
2012-04-24 | 10739022730 | 1027699274 | PersonInfoShipTO details missing | FirstName,LastName,
-------------------------------------------------------------------------------------------------------------------------------
2012-04-24 | 10739022730 | 1027699275 | PersonInfoShipTO details missing | FirstName,LastName,
-------------------------------------------------------------------------------------------------------------------------------
2012-04-24 | 10739022730 | 1027699276 | PersonInfoShipTO details missing | FirstName,LastName,
</TD></TR>
</TABLE>
<BR></BR>
Thanks,
</body> </html>
Online Ops-OMS Support
my output is
Hi All,
TIMESTAMP | ORDERNO | SHIP_ADV_NO | REASON | EMPTY FIELDS ******************************************************************************************************************************* 2012-04-24 | 10739022730 | 1027699274 | PersonInfoShipTO details missing | FirstName,LastName, ------------------------------------------------------------------------------------------------------------------------------- 2012-04-24 | 10739022730 | 1027699275 | PersonInfoShipTO details missing | FirstName,LastName, ------------------------------------------------------------------------------------------------------------------------------- 2012-04-24 | 10739022730 | 1027699276 | PersonInfoShipTO details missing | FirstName,LastName,
Thanks,
Online Ops-OMS Support
in the output i need some formatting.I am getting the extra ----------- in the mail i just need lines one below the one.
TIMESTAMP | ORDERNO | SHIP_ADV_NO | REASON | EMPTY FIELDS
*******************************************************************************************************************************
2012-04-24 | 10739022730 | 1027699274 | PersonInfoShipTO details missing | FirstName,LastName,
-------------------------------------------------------------------------------------------------------------------------------
2012-04-24 | 10739022730 | 1027699275 | PersonInfoShipTO details missing | FirstName,LastName,
-------------------------------------------------------------------------------------------------------------------------------
2012-04-24 | 10739022730 | 1027699276 | PersonInfoShipTO details missing | FirstName,LastName,
I need formatted output.newline inside the Body tag is not identified it seems.Please hel[p me guys.
my OS version is
SunOS wapsx001 5.10 Generic_147147-26 sun4v sparc SUNW,Sun-Fire-T200