TnefConversionOptionsGenerateCalendar Property

Get or set whether a text/calendar part should be generated for calendar items and meeting messages.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public bool GenerateCalendar { get; set; }

Property Value

Boolean
if a calendar should be generated; otherwise, . The default is .

Remarks

If , a message whose MessageClass identifies it as a calendar item (IPM.Appointment) or a meeting message (IPM.Schedule.Meeting.*) gets an iCalendar (RFC 5545) text/calendar part, generated from its properties as described by [MS-OXCICAL] and placed as the last alternative of the message body, as described by [MS-OXCMAIL] section 2.1.3.3.8. The embedded messages that hold the exceptions to a recurring appointment are written to the calendar instead of being added as attachments.

The calendar is not generated when the message is converted using its MimeSkeleton, because the skeleton already describes the original MIME structure.

See Also