MessageAttachments Property
A collection of attachments to add to a message.
Syntax
property MessageAttachments: TicmOLAttachmentList read get_MessageAttachments write set_MessageAttachments;
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"));
This property is not available at design time.