使用 PHP 以电子邮件或其他方式发送 Outlook 日历邀请

发布于 2024-10-26 00:16:23 字数 258 浏览 1 评论 0原文

我遇到的情况是,我需要 Outlook/或同等设备(黑莓等)的收件人接收 Outlook 日历事件格式的日历事件,而不是电子附件。

这是为了让我能够使用 Outlook 日历特定的标题(有人知道这些标题命令是什么?),例如取消、修改等。 我发现我只是缺少 Outlook 需要将电子邮件解释为 Outlook 日历的正确 MIME 标头字符串。

我非常感谢对此的任何帮助。我所有的客户都使用基于 Outlook 的邮件软件(超过 1000 个)。

谢谢

I am in a situation where i would need recipients with Outlook/or Equivalent(blackberry etc) to receive calendar events in Outlook Calendar event format, not an ical attachement.

This is to enable me use outlook calendar specific headers (Anyone knows what these header commands are?) like cancel, modify etc.
I figured that i am just missing the correct MIME header string which Outlook needs to interpret the email as an Outlook calendar.

I would really appreciate any help on this. All my clients use Outlook based mail softwares (over a 1000 of them).

Thanks

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

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

发布评论

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

评论(2

抱歉我没有回复你。这可能不是您正在寻找的确切解决方案,但它可能有效。

以下是如何发送日历请求< /a>.它看起来像内容类型“text/calendar”,标题应为“content-disposition”、“attachment; filename=

您可以生成 ICS 并通过电子邮件或网站上的可下载链接将其发送出去。以下是 ICS 文件的示例:

BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Pacific Time (US & Canada)
BEGIN:STANDARD
DTSTART:20061105T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20070311T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:Daylight Savings Time
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID="Pacific Time (US & Canada)":20110405T120000
DTEND;TZID="Pacific Time (US & Canada)":20110405T130000
LOCATION;ENCODING=QUOTED-PRINTABLE:Location of the event
UID:100000000034201184
DTSTAMP:20110328T124055Z
DESCRIPTION:1. Click this link to join the Webinar:\n\n   https://www2.gotomeeting.com/join/000000000/000000000\n\n\n2. Choose one of the following audio options:\n\n   TO USE YOUR COMPUTER'S AUDIO:\n   When the Webinar begins, you will be connected to audio using your computer's microphone and speakers (VoIP). A headset is recommended.\n\n\n
SUMMARY;ENCODING=QUOTED-PRINTABLE:Subject of the event
END:VEVENT
END:VCALENDAR

Sorry that I didn't get back to you. This may not be the exact solution that you were looking for, but it could work.

Here's a howto that shows to send a calendar request. It looks like the content type "text/calendar" and the header shold be "content-disposition", "attachment; filename=<file>"

You could generate an ICS and send that out via email or downloadable link on your site. Here's an example of an ICS file:

BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Pacific Time (US & Canada)
BEGIN:STANDARD
DTSTART:20061105T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20070311T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:Daylight Savings Time
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID="Pacific Time (US & Canada)":20110405T120000
DTEND;TZID="Pacific Time (US & Canada)":20110405T130000
LOCATION;ENCODING=QUOTED-PRINTABLE:Location of the event
UID:100000000034201184
DTSTAMP:20110328T124055Z
DESCRIPTION:1. Click this link to join the Webinar:\n\n   https://www2.gotomeeting.com/join/000000000/000000000\n\n\n2. Choose one of the following audio options:\n\n   TO USE YOUR COMPUTER'S AUDIO:\n   When the Webinar begins, you will be connected to audio using your computer's microphone and speakers (VoIP). A headset is recommended.\n\n\n
SUMMARY;ENCODING=QUOTED-PRINTABLE:Subject of the event
END:VEVENT
END:VCALENDAR
梦开始←不甜 2024-11-02 00:16:23

我正在查看收到的日历邀请的来源,我注意到

Content-Class: urn:content-classes:calendarmessage

我正在使用 Apple Mail,但我想知道使用“calendarmessage”的电子邮件客户端是否存在一定的一致性。只是觉得值得一提。

I was looking through the source of a calendar invitation I received and I noticed this header

Content-Class: urn:content-classes:calendarmessage

I'm using Apple Mail but I wonder if there is some consistency accross email clients with the use of "calendarmessage". Just thought is was worth mentioning.

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