Je crée des rendez-vous Outlook en utilisant webdav. J'utilise le corps de poste suivant pour créer le rendez-vous.Création d'un rendez-vous avec le corps html à l'aide de webdav
<?xml version="1.0"?>
<g:propertyupdate xmlns:g="DAV:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:mapi="http://schemas.microsoft.com/mapi/"
xmlns:mapit="http://schemas.microsoft.com/mapi/proptag/"
xmlns:x="xml:"
xmlns:cal="urn:schemas:calendar:"
xmlns:dt="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
xmlns:colors="http://schemas.microsoft.com/mapi/id/{00062002-0000-0000-C000-000000000046}/"
xmlns:header="urn:schemas:mailheader:"
xmlns:mail="urn:schemas:httpmail:"
>
<g:set>
<g:prop>
<g:contentclass>urn:content-classes:appointment</g:contentclass>
<e:outlookmessageclass>IPM.Appointment</e:outlookmessageclass>
<mail:subject>Test</mail:subject>
<mail:htmldescription><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
<html><body>
<table>
<tr><td>Telefonnummer:</td>
<td><b>123123423453245</b></td></tr>
<tr><td>Name</td>
<td style="color:red;">Hille, Christian</td></tr>
</table>
</body>
</html>
</mail:htmldescription>
<cal:location></cal:location>
<cal:dtstart dt:dt="dateTime.tz">2009-10-05T14:37:17.000Z</cal:dtstart>
<cal:dtend dt:dt="dateTime.tz">2009-10-05T14:52:17.000Z</cal:dtend>
<cal:busystatus>BUSY</cal:busystatus>
<cal:reminderoffset dt:dt="int">900</cal:reminderoffset>
<colors:0x8214 dt:dt="int">10</colors:0x8214>
</g:prop>
</g:set>
</g:propertyupdate>
Le rendez-vous est créé. Mais outlook n'affiche pas le texte tel qu'il est formulé en html. Le texte en gras est en gras. La table et l'attribut de style sont ignorés.
Est-ce que les perspectives soutiennent le formage du corps html? Comment afficher la table dans le corps de rendez-vous?