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

Namespace: MailBee.Outlook
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 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