How to create and send update to existing event by uisng BiWeekly library and Java Mail API?

独自空忆成欢 提交于 2019-12-06 02:48:18

Your code does not seem to explicitely set the UID property. As a consequence, the library probably generates a new one for you.

The UID property is what identifies this VEVENT amongst others. As a consequence, your update shall contain the same UID value as the original event that was sent earlier.

You are also missing at least one ATTENDEE property. One of the ATTENDEE should have its value set as a mailto uri corresponding to the gmail email address that is receiving the invite.

Try adding a LAST-MODIFIED property to the VEVENT component. You seem to be doing everything else right--keeping the UID consistent and incrementing SEQUENCE.

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