大家下午好。我在使用PHP邮件程序发送日历邀请时遇到问题。为了让apple邮件接受.ics文件,需要将它们作为简单附件添加到邀请电子邮件中。问题是当gmail帐户收到这些内容时,附件以及多部分电子邮件的文本/日历部分,它们将被解释为重复。
我在这里找到了同样的问题,其中包含.ics文件中的组织者解决了这个问题,但这对我不起作用。主题是这个。
Event invite results in Gmail displaying two events to add to gcal
这是一个事件的例子
Content-Type: text/calendar; charset="UTF-8"; method=REQUEST
Content-Transfer-Encoding: 7bit
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//TQR//TQR//EN
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20150610T140000Z
DTEND:20150610T180000Z
DTSTAMP:20150529T191215Z
ORGANIZER;CN=Attendee Status:mailto:TQR@xxx.com
UID:EVIDX497946349@xxx.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-
ACTION;RSVP=TRUE;CN=testemail@xxx.com;X-NUM-GUESTS=0:mailto:testemail@xxx.com
CREATED:20150529T191215Z
DESCRIPTION:Test event
LAST-MODIFIED:20150529T191215Z
LOCATION:metting Office
SEQUENCE:1
STATUS:CONFIRMED
SUMMARY;LANGUAGE=en-us:testevent
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
--b2_f3ab419ed0e3cc3bbdb2525eab86f464
Content-Type: multipart/related;
boundary="b3_f3ab419ed0e3cc3bbdb2525eab86f464"
--b3_f3ab419ed0e3cc3bbdb2525eab86f464
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bit
关于可能导致这种情况的任何想法?
谢谢!