Malformed HTML in exchange server calendar invite

泪湿孤枕 提交于 2019-12-12 03:25:20

问题


I'm using javamail lib to send calendar invites. I notice exchange server adds this to the text/html part of the mail. The text/plain and text/calendar parts are not modified.

<meta name=3D"Generator" content=3D"Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left:=
#800000 2px solid; } --></style>

This behavior is not noticed when

  • the invite is received by a non-exchange email like @gmail.com.
  • when the exact text/html content is sent without the text/calendar part to an exchange email.

I believe exchange server is treating text/html in calendar invites differently, but I'm not able to find a solution that works for both exchange and non-exchange servers.


回答1:


Outlook prior to 2016 always converted HTML in the meeting requests in RTF (which is/was the native body format for the appointments / tasks / contacts).

What version of Outlook and Exchange are you using?



来源:https://stackoverflow.com/questions/36118398/malformed-html-in-exchange-server-calendar-invite

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!