Hi all,

I have ITSM 7.0.2 patch 3 running on ARServer 7.0.01 patch 3 on a 
Linux/Oracle environment.  I've written custom code to take inbound emails 
and based on the subject line push them to the worklog of whatever ticket 
needs to be updated.  This all works fine and has been in production since 
we went live.   Up until now the majority of updates has come from our 
Lotus Notes clients.  We added a new group of users that are using Inotes 
that causes the email to come in HTML format.  I can easily amend my code 
to push over the HTML field rather than the plain text bases on whichever 
is not null, the problem is that the HTML pushes over like this:

<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" 
size=2><DIV><BR><DIV>test again<BR><DIV><BR></DIV><FONT 
color=#990099>-----Remedy &lt;[EMAIL PROTECTED]&gt; wrote: 
-----<BR><BR></FONT><blockquote style="PADDING-RIGHT: 0px; PADDING-LEFT: 
5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 
0px">To: [EMAIL PROTECTED]<BR>From: Remedy 
&lt;[EMAIL PROTECTED]&gt;<BR>Date: 02/21/2008 03:03PM<BR>Subject: 
INC000000152336<BR><BR><FONT face="Default Monospace,Courier 
New,Courier,monospace" size=2>Test email<BR><BR>Email Attachment : 
<BR><BR></FONT></blockquote><br></DIV></DIV></FONT>

Anyone have any suggestions of how to best parse out just the text?

TIA

Ben Cantatore
Remedy Administrator
Avon
(914) 935-2946

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to