MsgConvertMsgToMailMessage Method (String)
Parses Outlook .MSG file into MailMessage object.

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.4 build 677 for .NET 4.5
Syntax
public MailMessage MsgToMailMessage(
	string msgFilename
)

Parameters

msgFilename
Type: SystemString
The path to the source Outlook .MSG file.

Return Value

Type: MailMessage
MailMessage object containing the parsed mail message.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptionmsgFilename is a null reference (Nothing in Visual Basic).
MailBeeExceptionAn error occurred during reading or parsing message data.
See Also