如何将 ICS 会议自动添加到组织者的日历中?
我们的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看起来这个问题可以通过对 Outlook 应用 HotFix 来解决。
与注册表中的 ExtractOrganizedMeetings 设置相关。值得一试。
请参阅:
采用第三方日历格式
在 Outlook 2007 中
在 Outlook 中接受会议请求
2007 年(如果您使用公共日历)
对于您创建的会议
It looks like this issue might be solvable by applying a HotFix to Outlook.
It seems it could be related to setting ExtractOrganizedMeetings in the registry. Worth a try.
See:
is in a third-party calendar format
in Outlook 2007
accept a meeting request in Outlook
2007 if you used a public Calendar
for the meeting that you created
将 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.