我在Outlook 2007中遇到问题.当发送带有"文本/日历"部分的"multipart/alternative"电子邮件时,Outlook会识别日历事件,这就是它必须如何.但是当添加"text/plain"部分时,Outlook仅显示纯文本,缺少日历部分(但它存在于电子邮件的源代码中).
源代码如下:
[...]
Content-Type: multipart/alternative;
boundary="_=_swift_v4_138243630552664dd1bc83e_=_"
--_=_swift_v4_138243630552664dd1bc83e_=_
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
[...the plain message...]
--_=_swift_v4_138243630552664dd1bc83e_=_
Content-Type: text/calendar; charset=utf-8
Content-Transfer-Encoding: quoted-printable
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//GourmetPortal//NONSGML rr//DE
BEGIN:VEVENT
UID:res-Burkert
CREATED:20131030T113000Z
ORGANIZER;CN=3DSven Burkert:MAILTO:[...]
SUMMARY:[...]
DESCRIPTION:[...]
DTSTART:20131030T113000Z
END:VEVENT
END:VCALENDAR
--_=_swift_v4_138243630552664dd1bc83e_=_--
Run Code Online (Sandbox Code Playgroud)