Hi Techies,
I am creating a contact in EWS (Exchange Web Service ) with notes. In notes i am adding hyperlink to my website. the hyperlink appears fine in Outlook Client(software in your system) but when i open the same contact in Outlook web app (web browser) it shows me the literal text code I wrote for hyperlink.
reference code :
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:k="http://www.w3.org/1999/xhtml" ><soap:Header>
<t:RequestServerVersion Version="Exchange2010"/>
<t:ExchangeImpersonation> <t:ConnectingSID>
<t:PrimarySmtpAddress>abc@xyz.com</t:PrimarySmtpAddress> </t:ConnectingSID> </t:ExchangeImpersonation>
</soap:Header>
<soap:Body>
<CreateItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" >
<SavedItemFolderId>
<t:DistinguishedFolderId Id="contacts">
<t:Mailbox>
<t:EmailAddress>abc@xyz.com</t:EmailAddress>
</t:Mailbox>
</t:DistinguishedFolderId>
</SavedItemFolderId>
<Items>
<t:Contact>
<t:Body BodyType = "HTML">
// wrote ascii code because i cannot write HTML standard tags in EWS
//ascii representation of <a href="www.google.com">click here </a> is below
< a href = "www.google.com"> click here < / a>
</t:Body>
</t:Contact>
Please help...
thanks in advance