+ Start a Discussion
LBartonLBarton 

Exchange Web Services and the comments field in Tasks

I have created a SF web service that will add tasks (specifically email messages) to the proper places such as the Accounts or Opportunities that the user has selected.  I have one problem.  In the Comments field, the message is in HTML so it looks strange.  I want just text but can't seem to find out how to get it to look at way.  Here is an example:

 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div>This is a test message.&nbsp; Test again.</div>
<div>&nbsp;</div>
<div>Lynne</div>
</body>
</html>