MapiMessage.FromMailMessage
Contents
[
Hide
]FromMailMessage(string)
Creates an instance of MapiMessage from the MailMessage.
public static MapiMessage FromMailMessage(string fileName)
Parameter | Type | Description |
---|---|---|
fileName | String | The file name of MailMessage. |
Return Value
Returns a MapiMessage instance which is loaded from the MailMessage.
See Also
- class MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromMailMessage(Stream)
Creates an instance of MapiMessage from the EML format data stream.
public static MapiMessage FromMailMessage(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | The stream of data that represents an EML file. |
Return Value
Returns a MapiMessage instance which is loaded from the EML format data stream.
See Also
- class MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromMailMessage(MailMessage)
Creates an instance of MapiMessage from the MailMessage.
public static MapiMessage FromMailMessage(MailMessage message)
Parameter | Type | Description |
---|---|---|
message | MailMessage | The MailMessage. |
Return Value
Returns a MapiMessage instance which is loaded from the MailMessage.
See Also
- class MailMessage
- class MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email
FromMailMessage(MailMessage, MapiConversionOptions)
Creates an instance of MapiMessage from the MailMessage.
public static MapiMessage FromMailMessage(MailMessage message, MapiConversionOptions options)
Parameter | Type | Description |
---|---|---|
message | MailMessage | The MailMessage. |
options | MapiConversionOptions | MapiFromMailMessageOptions MapiConversionOptions |
Return Value
MapiMessage
that represents Outlook message.
See Also
- class MailMessage
- class MapiConversionOptions
- class MapiMessage
- namespace Aspose.Email.Mapi
- assembly Aspose.Email