icalendar

Parsing an iCalendar file in C

蓝咒 提交于 2019-12-02 11:51:33
问题 I am looking to parse iCalendar files using C. I have an existing structure setup and reading in all ready and want to parse line by line with components. For example I would need to parse something like the following: UID:uid1@example.com DTSTAMP:19970714T170000Z ORGANIZER;CN=John Doe;SENT-BY="mailto:smith@example.com":mailto:john.doe@example.com CATEGORIES:Project Report, XYZ, Weekly Meeting DTSTART:19970714T170000Z DTEND:19970715T035959Z SUMMARY:Bastille Day Party Here are some of the

Outlook fails to recognize an ics message

自古美人都是妖i 提交于 2019-12-02 10:55:44
问题 I am trying to create an .ics file in PHP that is mailed to the user. The solution works well in Gmail (I get a fancy invitation with all information appearing in the right places), but Outlook does not seem to recognize it at all. I receive an empty email with no attachment and no event is added to any calendar as far as I can see. I suspect the problem lies somewhere in the headers, but I have very little experience with mail protocols and can't pinpoint it. I've been fiddling with this all

Set content-type of mail message for ical attachment to “text/calendar; method=REQUEST”

跟風遠走 提交于 2019-12-02 10:00:34
问题 I am trying to send an iCalendar formatted ics file from App Engine using the App Engine mail API. This works great in GMail. However, Outlook doesn't recognise the file, and I believe the issue is that the content-type is set to "text/calendar" and not "text/calendar; method=REQUEST". I have tried sending mail with telnet with and without "method=REQUEST" to find that Outlook only actions the ics file if this is included. I have checked the headers sent from App Engine, to find that they do

Should event times specified in UTC while generating ICS files, to avoid issues with myriad calendaring applications

て烟熏妆下的殇ゞ 提交于 2019-12-02 09:08:14
问题 Handling timezones is tricky enough to say the least. And when it gets into generating ics files for scheduling meetings/events, it gets messier. There have ben plenty of queries out on the internet, asking why the "meeting time is off by one hour after importing an ics file into outlook/google calendar, microsoft exchange server" etc. Though i have researched quite a bit on this, including following the answers/suggestions on those trails, haven't quite figured out "the right method" of

Should event times specified in UTC while generating ICS files, to avoid issues with myriad calendaring applications

北战南征 提交于 2019-12-02 07:50:59
Handling timezones is tricky enough to say the least. And when it gets into generating ics files for scheduling meetings/events, it gets messier. There have ben plenty of queries out on the internet, asking why the "meeting time is off by one hour after importing an ics file into outlook/google calendar, microsoft exchange server" etc. Though i have researched quite a bit on this, including following the answers/suggestions on those trails, haven't quite figured out "the right method" of handling event time and what is the best practice around specifying timezone information in ics files.

ics file not recognized by outlook

↘锁芯ラ 提交于 2019-12-02 07:11:42
I have some problems. I'm trying to send an ics file, so an outlook user can add the event in his calendar. In some versions, like 2010, it works well (home edition) but on some, (like business) it doesn't recognize it directly. You must double-click the content so you can preview it. In that other version, it shows the calendar option immediately as I've clicked the mail. What am I doing wrong? Here is the code for the calendar. $str="BEGIN:VCALENDAR\r\n PRODID:-//Microsoft Corporation//Outlook 14.0 MIMEDIR//EN\r\n VERSION:2.0\r\n METHOD:REQUEST\r\n X-MS-OLK-FORCEINSPECTOROPEN:TRUE\r\n BEGIN

Outlook fails to recognize an ics message

血红的双手。 提交于 2019-12-02 04:02:58
I am trying to create an .ics file in PHP that is mailed to the user. The solution works well in Gmail (I get a fancy invitation with all information appearing in the right places), but Outlook does not seem to recognize it at all. I receive an empty email with no attachment and no event is added to any calendar as far as I can see. I suspect the problem lies somewhere in the headers, but I have very little experience with mail protocols and can't pinpoint it. I've been fiddling with this all day, please help :( Update: for some weird reason I do get the invite and it shows as attachment on

Parsing an iCalendar file in C

ぃ、小莉子 提交于 2019-12-02 03:38:10
I am looking to parse iCalendar files using C. I have an existing structure setup and reading in all ready and want to parse line by line with components. For example I would need to parse something like the following: UID:uid1@example.com DTSTAMP:19970714T170000Z ORGANIZER;CN=John Doe;SENT-BY="mailto:smith@example.com":mailto:john.doe@example.com CATEGORIES:Project Report, XYZ, Weekly Meeting DTSTART:19970714T170000Z DTEND:19970715T035959Z SUMMARY:Bastille Day Party Here are some of the rules: The first word on each line is the property name The property name will be followed by a colon (:)

How to get response of meeting invitation email in php

独自空忆成欢 提交于 2019-12-01 11:44:32
I am sending calendar meeting invitation to user's email. When receiver accepts invitation then it appears in receivers calendar but I am not able to get response. Is there any way that I can get response and use it in my website? Google Service Account is the perfect solution in this case. In this, users do not need any API detail instead site owner needs API detail. Read Google service account documentation and you will find solution of your problem. 来源: https://stackoverflow.com/questions/29514363/how-to-get-response-of-meeting-invitation-email-in-php

How to get response of meeting invitation email in php

人盡茶涼 提交于 2019-12-01 10:30:00
问题 I am sending calendar meeting invitation to user's email. When receiver accepts invitation then it appears in receivers calendar but I am not able to get response. Is there any way that I can get response and use it in my website? 回答1: Google Service Account is the perfect solution in this case. In this, users do not need any API detail instead site owner needs API detail. Read Google service account documentation and you will find solution of your problem. 来源: https://stackoverflow.com