MapiAttachmentMethod Enum

How the content of an attachment is stored (PidTagAttachMethod, [MS-OXCMSG] 2.2.2.9).

public enum MapiAttachmentMethod

Fields

NameValueDescription
None0The attachment has no content.
ByValue1The content is in the attachment (MapiAttachment.OpenRead).
ByReference2The attachment is a path to a file on a shared location.
ByReferenceOnly4The attachment is a path to a file.
EmbeddedMessage5The content is a message (MapiAttachment.GetEmbeddedMessage).
Storage6The content is an OLE storage (MapiAttachment.OpenRead returns its bytes).
ByWebReference7The attachment is a link to a file in the cloud.