Click or drag to resize

iCalAsAttachments Method

Construct the iCalendar file in memory and return it as an email attachment in a single-item array of attachments. In this form the iCalendar is ready for immediate use when sending an email with no additional attachments. Internally GetContent(iCalNotificationType, String) is used to construct the iCalendar text and AsAttachment(iCalNotificationType, String) is used to construct the attachment.

Namespace:  NetQuarry.Mail
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public Attachment[] AsAttachments(
	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 in a single-item array of attachments..
See Also