MapiMessage

Overview

MapiMessage is a class in Aspose.Email FOSS for .NET.
Inherits from: IDisposable.

Methods

SignatureDescription
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

NameTypeAccessDescription
RecipientTypeTointreadConstant value 1 for To recipients
RecipientTypeCcintreadConstant value 2 for Cc recipients
RecipientTypeBccintreadConstant value 3 for Bcc recipients
UnicodeStringsboolread
PropertiesMapiPropertyCollectionread
RecipientsIList<MapiRecipient>read
AttachmentsIList<MapiAttachment>read
MajorVersionushortread
MinorVersionushortread
TransactionSignatureNumberuintread
ValidationIssuesIReadOnlyList<string>read
Subjectstring?read
Bodystring?read
HtmlBodystring?read
MessageClassstring?read
SenderNamestring?read
SenderEmailAddressstring?read
SenderAddressTypestring?read
InternetMessageIdstring?read
MessageDeliveryTimeDateTime?read

See Also