如何将 ICS 会议自动添加到组织者的日历中?

发布于 2024-10-06 13:48:41 字数 1560 浏览 6 评论 0原文

我们的 java 应用程序使用 ical4j 生成 ICalendar 文件,并将它们作为 HTML 电子邮件通知的一部分发送给用户。一些用户(会议的组织者)报告说,会议的“接受”、“拒绝”等按钮呈灰色且无法单击。该会议不会添加到组织者的日历中。

如何强制为组织者添加会议?

我临时将服务器配置为将 .ics 文件作为附件发送(而不是内联),以便我可以通过基于 Web 的 ICalendar 验证器运行它。验证器向我发出警告,指出 Version 属性应该是第一个属性,但没有发现任何其他问题。

ICalendar 对于除组织者之外的每个用户都正常工作。

我能够在我自己的 Outlook 帐户上重现该问题。我注意到如果我通过gmail邮件服务器发送会议通知,它可以正常工作;但是,当它来自我们的内部 Outlook 服务器时,它不会添加到日历中。

灰色的会议控件下方会显示一条消息:“作为会议组织者,您无需回复​​此会议。”

我们的系统生成的 ICalendar 文件示例:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//MyCompany//Product//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20101202T210423Z
UID:77B17E9B-BE02-476E-816B-ED9558EE7D2A
DTSTART:20101230T133000
DTEND:20101230T143000
SUMMARY:Review Meeting for A1 CI Review #123456
LOCATION:BLDG - 123
CREATED:20101202T210423Z
LAST-MODIFIED:20101202T210423Z
TZID:America/New_York
ORGANIZER;CN="ORGANIZER, THE";SENT-BY="mailto:[email protected]":mailto:[email protected]
ATTENDEE;ROLE=REQ-PARTICIPANT;CN="ATTENDEE, SOME":mailto:[email protected]

END:VEVENT
END:VCALENDAR

编辑:

我尝试将会议组织者添加为“可选”参与者。没有骰子;相同的行为。

再次编辑问题以反映我在该问题上的进展。

Our java application generates ICalendar files using ical4j, and sends them out to users as part of an HTML e-mail notification. A couple of users (the Organizers of the meeting) report that the the "Accept", "Reject", etc. buttons for the meeting are grayed out, and unclickable. The meeting is not added to the Organizer's calendar.

How can I force the meeting to be added for the Organizer?

I configured the server temporarily to send the .ics file as an attachment (instead of inline), so that I could run it through a web-based ICalendar validator. The validator gave me a warning that the Version property was supposed to be the first property, but didn't find any other problems.

The ICalendar works normally for every user except the organizer.

I was able to reproduce the issue on my own Outlook account. I noticed that if I send the meeting notice through a gmail mail server, it works normally; but, when it comes from our internal Outlook server, it doesn't get added to the calendar.

A message is shown underneath the grayed-out meeting controls: "As the meeting organizer, you do not need to respond to this meeting."

Example ICalendar file generated by our system:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//MyCompany//Product//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTAMP:20101202T210423Z
UID:77B17E9B-BE02-476E-816B-ED9558EE7D2A
DTSTART:20101230T133000
DTEND:20101230T143000
SUMMARY:Review Meeting for A1 CI Review #123456
LOCATION:BLDG - 123
CREATED:20101202T210423Z
LAST-MODIFIED:20101202T210423Z
TZID:America/New_York
ORGANIZER;CN="ORGANIZER, THE";SENT-BY="mailto:[email protected]":mailto:[email protected]
ATTENDEE;ROLE=REQ-PARTICIPANT;CN="ATTENDEE, SOME":mailto:[email protected]

END:VEVENT
END:VCALENDAR

Edit:

I tried adding the meeting organizer as an "Optional to" participant. No dice; same behavior.

Edited the question again to reflect my progress on the issue.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

凯凯我们等你回来 2024-10-13 13:48:41

将 ORGANIZER 添加到 ICS 文件中。显然,Outlook 2007 假定组织者是当前用户,而以前的版本则不然。

Add an ORGANIZER to the ICS file. Apparently Outlook 2007 assumes the organizer is the current user whereas previous versions did not.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文