0
我得到icalendar的這個問題,它發送到Gmail,雅虎,aoutlook.com時不顯示附件和確認按鈕。 它以前沒有html消息和multipart/mixed標題。 現在,當我收到電子郵件時,它只顯示日曆的文本,但它不能識別它。 內容類型:multipart/mixed; border =「982f8d486c3cbed0e28b314e7a433c3d」添加html內容後Icalendar .ics不顯示問題
--982f8d486c3cbed0e28b314e7a433c3d
Content-Type: multipart/alternative; boundary="19f4b0e33c6f735ae6f858b1df7b72f2"
--19f4b0e33c6f735ae6f858b1df7b72f2
Content-Type: text/calendar; method=REQUEST; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Testa//Tes//EN
METHOD:REQUEST
BEGIN:VEVENT
UID:20150914T205515-998107994-domain.com
DTSTAMP:20150914T205515
DTSTART:20150915T195500Z
DTEND:20150915T195500Z
ORGANIZER;CN=soy:MAILTO:[email protected]
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;[email protected]:MAILTO:[email protected]
LOCATION:hj
SUMMARY:Rendez-vous
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR
--19f4b0e33c6f735ae6f858b1df7b72f2--
--982f8d486c3cbed0e28b314e7a433c3d
Content-Type: application/ics; name="Rv-invite.ics"
Content-Disposition: attachment; filename="Rv-invite.ics"
Content-Transfer-Encoding: base64
X-Mailer: Microsoft Office Outlook 12.0
X-Mailer: CakePHP Email
Date: Mon, 14 Sep 2015 20:55:16 +0200
Message-ID: <[email protected]>
Subject: Rendez-vous
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Emails/html</title>
</head>
<body>
<p>Dear,</p>
<p>Mr xxx sent an appointment</p>
</body>
</html>
在此先感謝。
您應該始終提及您使用的確切cakephp版本。我使用Cake2.7並且它工作得很好。 – mark
我用cakephp 2.6.0 – Monologie
它顯示帶確認按鈕的日曆嗎? – Monologie