<legend id='UkyS7'><style id='UkyS7'><dir id='UkyS7'><q id='UkyS7'></q></dir></style></legend>

    1. <i id='UkyS7'><tr id='UkyS7'><dt id='UkyS7'><q id='UkyS7'><span id='UkyS7'><b id='UkyS7'><form id='UkyS7'><ins id='UkyS7'></ins><ul id='UkyS7'></ul><sub id='UkyS7'></sub></form><legend id='UkyS7'></legend><bdo id='UkyS7'><pre id='UkyS7'><center id='UkyS7'></center></pre></bdo></b><th id='UkyS7'></th></span></q></dt></tr></i><div id='UkyS7'><tfoot id='UkyS7'></tfoot><dl id='UkyS7'><fieldset id='UkyS7'></fieldset></dl></div>
        <bdo id='UkyS7'></bdo><ul id='UkyS7'></ul>

      <small id='UkyS7'></small><noframes id='UkyS7'>

      <tfoot id='UkyS7'></tfoot>

        iCalendar .ics 在 iOS 上接受/拒绝

        iCalendar .ics accept/decline on iOS(iCalendar .ics 在 iOS 上接受/拒绝)
      1. <i id='couN8'><tr id='couN8'><dt id='couN8'><q id='couN8'><span id='couN8'><b id='couN8'><form id='couN8'><ins id='couN8'></ins><ul id='couN8'></ul><sub id='couN8'></sub></form><legend id='couN8'></legend><bdo id='couN8'><pre id='couN8'><center id='couN8'></center></pre></bdo></b><th id='couN8'></th></span></q></dt></tr></i><div id='couN8'><tfoot id='couN8'></tfoot><dl id='couN8'><fieldset id='couN8'></fieldset></dl></div>

          <tbody id='couN8'></tbody>
        • <tfoot id='couN8'></tfoot>

          • <bdo id='couN8'></bdo><ul id='couN8'></ul>

              <small id='couN8'></small><noframes id='couN8'>

              <legend id='couN8'><style id='couN8'><dir id='couN8'><q id='couN8'></q></dir></style></legend>
                  本文介绍了iCalendar .ics 在 iOS 上接受/拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我创建了一个发送 iCalendar 活动邀请的 php 脚本(基于 RFC 5545).一切正常,但在 iPhone (iOS 4.2.1) 和 iPad (iOS 5.1) 上,我没有接受/拒绝事件的选项(显示为 mime-attachment.ics),只能将其添加到我的日历.在其他邮件客户端(outlook、thunderbird、gmail)中,这按预期工作.

                  I have created a php script that sends out iCalendar event invitations (based on RFC 5545). Everything works ok, but on iPhone (iOS 4.2.1) and iPad (iOS 5.1) I don't get an option to accept/decline the event (which appears as a mime-attachment.ics), only to add it to my calendar. In other mail clients (outlook, thunderbird, gmail) this works as expected.

                  iOS 的邮件客户端是否支持发送此类回复?如果是,有谁知道我应该指定什么来完成这项工作?

                  Does iOS' mail client support sending such responses? If yes, does anyone know what should I specify to make this work?

                  这是 ics 文件的示例内容:

                  Here's a sample content of the ics file:

                  BEGIN:VCALENDAR
                  PRODID:-//Some organization//some application//EN
                  VERSION:2.0
                  METHOD:REQUEST
                  BEGIN:VEVENT
                  UID:20120920T150350Z-70@http://localhost/www/
                  CREATED:20120920T150350Z
                  DTSTAMP:20120921T080800Z
                  DTSTART:20120921T080800Z
                  DTEND:20120922T060800Z
                  DESCRIPTION:Please attend this sample meeting
                  SUMMARY:Invitation to attend training
                  LOCATION:Earth
                  ATTENDEE;RSVP=TRUE:mailto:periklis@example.com
                  ORGANIZER;CN=periklis@example.com:mailto:periklis@example.com
                  LAST-MODIFIED:20120921T080800Z
                  PRIORITY:5
                  SEQUENCE:0
                  STATUS:CONFIRMED
                  TRANSP:TRANSPARENT
                  END:VEVENT
                  END:VCALENDAR
                  

                  推荐答案

                  仔细阅读了RFC,下面是我使用和工作的:

                  After carefully reading the RFC, here's what I used and worked:

                  BEGIN:VCALENDAR
                  PRODID:-//Some organization//some application//EN
                  VERSION:2.0
                  METHOD:REQUEST
                  BEGIN:VEVENT
                  UID:20120925T072912Z-140@http://localhost/www/
                  CREATED:20120925T072912Z
                  DTSTAMP:20120922T090500Z
                  DTSTART:20120922T090500Z
                  DTEND:20120923T090500Z
                  DESCRIPTION:Please attend this sample meeting
                  SUMMARY:Invitation to attend training
                  LOCATION:Earth
                  ATTENDEE;RSVP=TRUE:mailto:periklis@example.com
                  ORGANIZER;CN=periklis@example.com:mailto:periklis@example.com
                  LAST-MODIFIED:20120922T090500Z
                  PRIORITY:5
                  SEQUENCE:0
                  STATUS:CONFIRMED
                  TRANSP:TRANSPARENT
                  END:VEVENT
                  END:VCALENDAR
                  

                  还值得一提的是,上面的行必须用 分隔.所以我将每一行分配给一个数组成员,然后对数组进行内爆:

                  It's also worth mentioning that the above lines MUST be separated with . So I assigned each line to an array member and then imploded the array:

                  $message[]='BEGIN:VCALENDAR';
                  $message[]='PRODID:-//Some organization//some application//EN';
                  [...]
                  $message[]='END:VCALENDAR';
                  
                  $message = implode("
                  ", $message);
                  

                  这篇关于iCalendar .ics 在 iOS 上接受/拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  PHP Upload File Validation(PHP 上传文件验证)
                  PHP Error - Uploading a file(PHP 错误 - 上传文件)
                  How can I write tests for file upload in PHP?(如何在 PHP 中编写文件上传测试?)
                  php resizing image on upload rotates the image when i don#39;t want it to(php在上传时调整图像大小会在我不想要它时旋转图像)
                  How to send additional data using PLupload?(如何使用 PLupload 发送附加数据?)
                  change button text in js/ajax after mp4 =gt;mp3 conversion in php(在 php 中的 mp4 =gt;mp3 转换后更改 js/ajax 中的按钮文本)
                  <tfoot id='JBL8C'></tfoot><legend id='JBL8C'><style id='JBL8C'><dir id='JBL8C'><q id='JBL8C'></q></dir></style></legend>

                    <small id='JBL8C'></small><noframes id='JBL8C'>

                    • <i id='JBL8C'><tr id='JBL8C'><dt id='JBL8C'><q id='JBL8C'><span id='JBL8C'><b id='JBL8C'><form id='JBL8C'><ins id='JBL8C'></ins><ul id='JBL8C'></ul><sub id='JBL8C'></sub></form><legend id='JBL8C'></legend><bdo id='JBL8C'><pre id='JBL8C'><center id='JBL8C'></center></pre></bdo></b><th id='JBL8C'></th></span></q></dt></tr></i><div id='JBL8C'><tfoot id='JBL8C'></tfoot><dl id='JBL8C'><fieldset id='JBL8C'></fieldset></dl></div>

                          <tbody id='JBL8C'></tbody>

                            <bdo id='JBL8C'></bdo><ul id='JBL8C'></ul>