Overview
MapiMessage is a class in Aspose.Email FOSS for .NET.
Inherits from: IDisposable.
Methods
| Signature | Description |
|---|
Create(subject: string, body: string, unicodeStrings: bool) | |
FromFile(path: string, strict: bool) | |
FromStream(stream: Stream, strict: bool) | |
FromMsgDocument(document: MsgDocument) | |
LoadFromEml(path: string) | |
LoadFromEml(stream: Stream) | |
LoadFromEml(data: byte[]) | |
Dispose() | |
AddRecipient(emailAddress: string, displayName: string?, recipientType: int) | |
AddAttachment(filename: string, data: byte[], mimeType: string?, contentId: string?) | |
AddAttachment(filename: string, stream: Stream, mimeType: string?, contentId: string?) | |
AddEmbeddedMessageAttachment(message: MapiMessage, filename: string?, mimeType: string?) | |
SetProperty(propertyId: ushort, propertyType: ushort, value: object?, flags: uint) | |
GetPropertyValue(propertyId: ushort, propertyType: ushort?, decode: bool) | |
IterPropertyKeys() | |
IterProperties() | |
IterAttachmentsInfo() | |
ToMsgDocument() | |
Save() | |
Save(path: string) | |
Save(stream: Stream) | |
SaveToEml() | |
SaveToEml(path: string) | |
SaveToEml(stream: Stream) | |
Properties
| Name | Type | Access | Description |
|---|
RecipientTypeTo | int | read | Constant value 1 for To recipients |
RecipientTypeCc | int | read | Constant value 2 for Cc recipients |
RecipientTypeBcc | int | read | Constant value 3 for Bcc recipients |
UnicodeStrings | bool | read | |
Properties | MapiPropertyCollection | read | |
Recipients | IList<MapiRecipient> | read | |
Attachments | IList<MapiAttachment> | read | |
MajorVersion | ushort | read | |
MinorVersion | ushort | read | |
TransactionSignatureNumber | uint | read | |
ValidationIssues | IReadOnlyList<string> | read | |
Subject | string? | read | |
Body | string? | read | |
HtmlBody | string? | read | |
MessageClass | string? | read | |
SenderName | string? | read | |
SenderEmailAddress | string? | read | |
SenderAddressType | string? | read | |
InternetMessageId | string? | read | |
MessageDeliveryTime | DateTime? | read | |
See Also