Removing EWS Appointment Body Text

有些话、适合烂在心里 提交于 2019-12-04 01:29:30

I created test appointments using EWS in the same manor above and explored the properties of the objects using MFCMAPI and EWS Editor. Via MAPI the when-text is stored in the PidTagHtml property. Via EWS the when-text is stored in the Body property. The when-text exists on the received copy, but not on the original in the sender's calendar folder.

Based on this it appears the when-text is inserted to the body at send time. If you remove the line

newAppointment.RequiredAttendees.Add("first.last@acme.com");

then an appointment is created instead of a meeting. In that case the when-text doesn't come into play.

  1. I'm pretty sure there's no way to get around this behavior, except for going into the recipient's mailbox and removing the text on the received copy.
  2. Even if there was a better workaround, I wouldn't recommend doing it because both Outlook and OWA create meetings in the same manor.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!