Email invitation via an iCal file

不打扰是莪最后的温柔 提交于 2019-12-08 09:02:28

the problem is not with your code (though a different uid is mandatory as per rfc5545), but with the GUI from the different calendar application.

if we stretch your use case, their could be potentially 100's or 1000's of events in an email and how should the GUI look like? 100's or 1000's of buttons in series to be clicked for each individual event?

so eventhough your code is correct and the iMIP (RFC6047) also says more than 1 VEVENT can be included, it is not good practice to have more than 1 event as the user needs to approve them one by one.

if what you want is to have 2 instances of the same event (hence the same UID), you should use the RDATE property to specify your 2 dates in one EVENT and then your user can accept the invite for 1 event (which will have 2 instances).

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