The meeting invite will not be sent with email address like it will work if I change it to e.Attendees. With one exception though - Apparently Outlook doesn't like the period in Organizer's email address. I added the line c.Method = "REQUEST" and it worked as expected. If either the "METHOD" property or the Content-Type "method" parameter is specified, then the other MUST also be specified." This property can only appear once within the iCalendar object. It was actually because I forgot to specify the Method property on Calendar.īased on the spec - "When used in a MIME message entity, the value of this property MUST be the same as the Content-Type "method" parameter value. The iCalendar information generated from is almost identical to the static string I used.Īpparently the low case of TRANSP:Transparent (not TRANS :)) doesn't bother Outlook.
HOW TO USE ICAL WITH OUTLOOK HOW TO
How to Add an iCal Link to Outlook Online. You can add iCal links in any supported version of the Outlook client. I am not exactly sure what I am missing here. How to Add an iCal Link to the Outlook Client. Trigger = new Trigger(TimeSpan.FromDays(-1)),ĬalendarSerializer serializer = new CalendarSerializer(new SerializationContext()) Ĭonsole.WriteJohne(serializer.SerializeToString(c)) ĪlternateView avCal = AlternateView.CreateAlternateViewFromString(serializer.SerializeToString(c), ct) Summary = "Tested with iCal.Net Summary", Transparency = TransparencyType.Transparent,
HOW TO USE ICAL WITH OUTLOOK CODE
Please see this screenshot of what I get with the code below public static void SendICal()ĭateTime dtStart = new DateTime(2017, 12, 4) I am now trying to replicate that with iCal.Net (because the date and attendees are dynamic) and couldn't get what I want. ct = new ("text/calendar") ĪlternateView avCal = AlternateView.CreateAlternateViewFromString(test, ct) UID:a16fbc2b-72fd-487f-adee-370dc349a2273asfdasdĭESCRIPTION:Request for information regarding Test String test = -//Company & Com//Credit Inquiry//EN To get rid of the calendar, right-click the. To get this Outlook or iCal workaround started you’ll need to first set up Google Calendar sync with SSA. But, you can still subscribe from Google Calendar to those other services and sync them that way.
The common schedule will certainly now show up under Other Calendars. Unfortunately, we don’t offer Apple iCal and Outlook Calendar direct sync at the moment. In the box that appears, paste your iCal link as well as click OK. In the sidebar, right-click Other Calendars and then choose Add Calendar > From Internet. I am trying to send an Meeting Invite with C# and am able to get what I want with a manually formatted static string -Īnd here is the Screenshot of what I was able to get with the static string public static void SendEmailString() Open Outlook as well as most likely to your schedule.