Gmail会显示两个要添加到gcal的活动的事件邀请 [英] Event invite results in Gmail displaying two events to add to gcal

查看:132
本文介绍了Gmail会显示两个要添加到gcal的活动的事件邀请的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在生成一封电子邮件,其中包含ICS格式的事件,我希望Gmail和Outlook都能识别。正如我在别处看到的那样,它由多重/混合信息组成。其中,有一个多/文本/纯文本,文本/ HTML和文本/日历部分。还有最终的应用程序/ ics部分。 Gmail认识到这一点并提出了添加到Google日历按钮,但它认为有两个相同的事件。我知道最终的应用程序/ Iics部分适用于Outlook,但它似乎会导致重复。我缺少什么?

I'm generating an email that contains an event in ICS format, that I want both Gmail and Outlook to recognize. As I've seen elsewhere, it consists of a multi/mixed message. Within that, there's a multi/alt with text/plain, text/html and text/calendar parts. And a final application/ics part. Gmail recognizes this and puts up the 'Add to Google Calendar' button, but it thinks there are two identical events. I understand that the final application/ics part is for Outlook, but it appears to cause the duplicate. What am I missing?

以下是一个示例消息:

Here's an example message:

Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="001643911600085117750003319898"

--001643911600085117750003319898
Content-Type: multipart/alternative; boundary="yabbadabbadoo"

--yabbadabbadoo
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is my plain text part


--yabbadabbadoo
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

This is my HTML part

--yabbadabbadoo
Content-Type: text/calendar; charset=UTF-8; method=PUBLISH
Content-Transfer-Encoding: quoted-printable

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Groups.io Inc//Groups.io Calendar//EN
METHOD:PUBLISH
CALSCALE:GREGORIAN
BEGIN:VEVENT
UID:calendar.10@groups.io
DTSTAMP:20150318T225646Z
DTSTART:20150321T000000Z
DTEND:20150321T010000Z
SUMMARY:test 6
DESCRIPTION:5-7pm pacific time
BEGIN:VALARM
ACTION:DISPLAY
DESCRIPTION:test 6
TRIGGER:-PT5H
END:VALARM
END:VEVENT
END:VCALENDAR

--yabbadabbadoo--


--001643911600085117750003319898
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="invite.ics"
Content-Type: application/ics; name="invite.ics"

QkVHSU46VkNBTEVOREFSClZFUlNJT046Mi4wClBST0RJRDotLy9Hcm91cHMuaW8gSW5jLy9Hcm91
cHMuaW8gQ2FsZW5kYXIvL0VOCk1FVEhPRDpQVUJMSVNICkNBTFNDQUxFOkdSRUdPUklBTgpCRUdJ
TjpWRVZFTlQKVUlEOmNhbGVuZGFyLjEwQGdyb3Vwcy5pbwpEVFNUQU1QOjIwMTUwMzE4VDIyNTY0
NloKU1VNTUFSWTp0ZXN0IDYKRFRTVEFSVDoyMDE1MDMyMVQwMDAwMDBaCkRURU5EOjIwMTUwMzIx
VDAxMDAwMFoKREVTQ1JJUFRJT046NS03cG0gcGFjaWZpYyB0aW1lCkJFR0lOOlZBTEFSTQpBQ1RJ
T046RElTUExBWQpERVNDUklQVElPTjp0ZXN0IDYKVFJJR0dFUjotUFQ1SApFTkQ6VkFMQVJNCkVO
RDpWRVZFTlQKRU5EOlZDQUxFTkRBUg==


--001643911600085117750003319898--


推荐答案

我错过了ICS文件中的 ORGANIZER 字段。一旦我补充说,Gmail不再显示重复的事件。

I was missing an ORGANIZER field in the ICS file. Once I added that, Gmail no longer displayed a duplicate event.

这篇关于Gmail会显示两个要添加到gcal的活动的事件邀请的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆