MessageAttachments Property

A collection of attachments to add to a message.

Syntax

public OLAttachmentList MessageAttachments { get; }
Public Property MessageAttachments As OLAttachmentList

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.

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