MessageAttachments Property

A collection of attachments to add to a message.

Syntax

public var messageAttachments: Array<OLAttachment> {
get {...} }

Remarks

This property contains a list of files to attach to a message. These files are added to a message sent with SendMail or created with CreateDraft*.

*This applies only to drafts made with the DRAFTTYPE_MESSAGE type. For other types of drafts see AddAttachment.

Example

office365.MessageAttachments.Add(new OLAttachment("./text.txt"));

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 macOS Edition - Version 20.0 [Build 8164]