GMail不显示iCalendar邀请的X-ALT-DESC参数值 [英] GMail doesn't display X-ALT-DESC parameter value of iCalendar invite

查看:244
本文介绍了GMail不显示iCalendar邀请的X-ALT-DESC参数值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们需要通知我们的客户即将到来的约会。因此,我向他们发送了iCalendar邀请,以便在其日历中创建约会。

  BEGIN:VCALENDAR 
PRODID: - // NONSGML Scheduler // EN
版本:2.0
CALSCALE:GREGORIAN
方法:请求
TRANSP:OPAQUE
BEGIN:VEVENT
DTSTAMP:20160504T235656Z
DTSTART; TZID = America / New_York:20160509T090000
DTEND; TZID = America / New_York:20160509T100000
摘要:Terrance的任命
CREATED:20160504T235655Z
最后修改:20160504T235655Z
DTSTAMP: 20160504T235656Z
UID:appointment-101@gmail.com
TZID:America / New_York
SEQUENCE:0
位置:Sunset blvd.\,Brooklyn \,NY 11203
ORGANIZER; CN = Barrimore:MAILTO:mailer@gmail.com
ATTENDEE; CN = Barrimore; ROLE = REQ-PARTICIPANT; RSVP = FALSE; PARTSTAT = ACCEPTED; CUTYPE = INDIVIDUAL:mailto:aleh .... .. @ gmail.com
STATUS:CONFIRMED
X-ALT-DESC; FMTTYPE = text / html:< html>< body> Barrimore,< br>< br>预约Terrance最近由您或您的工作人员创建或更新f。< br>< br>您可以登入以下网址查看更新的日历:< a href =https:// localhost> https:// localhost< / a>< br>< ; br>如需登入或支援常见问题,请电邮至support@gmail.com.< br>< br>谢谢。< / body>< / html>
END:VEVENT
END:VCALENDAR

所以问题在于GMail不会不显示X-ALT-DESC参数的html内容。好奇的是,Hotmail的一切都很好 - 它用X-ALT-DESC中的接受,忽略按钮和格式化的HTML消息显示事件面板。 GMail仅显示事件信息面板。

解决方案

X-ALT-DESC 是一个MSFT特定扩展名(请参阅 MSND on iCalendar / X-ALT-DESC
您可以查看 RFC 到请仔细检查。

考虑到与微软的hotmail关系,他们支持它是很有意义的,并且可能对Google为什么不支持MSFT专有功能有一定的意义。 / p>

We need to inform our customers about upcoming appointments. So I send them iCalendar invites in order to create appointments in their calendars. The example of iCalendar invite can be seen below.

BEGIN:VCALENDAR
PRODID:-//NONSGML Scheduler//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
TRANSP:OPAQUE    
BEGIN:VEVENT
DTSTAMP:20160504T235656Z
DTSTART;TZID=America/New_York:20160509T090000
DTEND;TZID=America/New_York:20160509T100000
SUMMARY:Appointment with Terrance
CREATED:20160504T235655Z
LAST-MODIFIED:20160504T235655Z
DTSTAMP:20160504T235656Z
UID:appointment-101@gmail.com
TZID:America/New_York
SEQUENCE:0
LOCATION:Sunset blvd.\, Brooklyn\, NY 11203
ORGANIZER;CN=Barrimore:MAILTO:mailer@gmail.com
ATTENDEE;CN=Barrimore;ROLE=REQ-PARTICIPANT;RSVP=FALSE;PARTSTAT=ACCEPTED;CUTYPE=INDIVIDUAL:mailto:aleh......@gmail.com
STATUS:CONFIRMED
X-ALT-DESC;FMTTYPE=text/html:<html><body>Barrimore,<br><br>An appointment with Terrance was recently created or updated by you or your staff.<br><br>You can see your updated calendar by signing in at: <a href="https://localhost">https://localhost</a>.<br><br>For help signing in or general support issues, please email support@gmail.com.<br><br>Thank you.</body></html>
END:VEVENT
END:VCALENDAR

So the problem is that GMail doesn't display html contents of X-ALT-DESC parameter. Curious, that everything's ok with Hotmail - it displays event panel with "Accept", "Ignore" buttons and formatted html message from X-ALT-DESC. GMail displays event info panel only.

解决方案

The X-ALT-DESC is a MSFT specific extension (see MSND on iCalendar/X-ALT-DESC) you can check the RFC to double check.

Given hotmail relation to Microsoft, it makes sense for them to support it and probably also some sense as to why Google would not support a MSFT proprietary feature.

这篇关于GMail不显示iCalendar邀请的X-ALT-DESC参数值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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