How can I create an Appointment through EWS with a compressed RTF body? RRS feed

  • Question

  • I would like to create an Appointment through EWS with a compressed RTF body instead of the default HTML format due to several bugs w/ Exchange around HTML formatted appointment bodies.

    The code I am using looks similar to that below:

    var appointment = new Appointment(exchangeService);
    string html = // html body
    string compressedRtf = // converted using Microsoft.Exchange.Data.TextConverters
    var epd = new ExtendedPropertyDefinition(0x1009, MapiPropertyType.Binary);
    This throws a "Content conversion failed." exception when Saved. Is there anything glaringly wrong here? I have not been able to find documentation or code samples, just a few hints that I may need to set additional Extended Properties to get this to work.

    Friday, August 18, 2017 8:31 AM

All replies

  • Hi,

    I have the same issue. Did you solve this?

    • Edited by xpavciak Wednesday, October 9, 2019 2:28 PM
    Wednesday, October 9, 2019 2:27 PM