Click or drag to resize

iCalAsAttachment Method

Construct the iCalendar file in memory and return it as an email attachment. Internally GetContent(iCalNotificationType, String) is used to construct the iCalendar text.

Namespace:  NetQuarry.Mail
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public Attachment AsAttachment(
	iCalNotificationType type,
	string attendeeList = null
)

Parameters

type
Type: NetQuarry.MailiCalNotificationType
The iCalendar notification type.
attendeeList (Optional)
Type: SystemString
The optional list of attendees (a semi-colon-separated list of email addresses).

Return Value

Type: Attachment
The iCalendar as an email attachment.
See Also