MimePartParse Method
Creates a new instance of MimePart object from the specified MIME data.

Namespace: MailBee.Mime
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 11.2.0 build 590 for .NET 4.5
Syntax
public static MimePart Parse(
	byte[] dataToParse
)

Parameters

dataToParse
Type: SystemByte
The byte array containing the MIME part contents (the header and the body).

Return Value

Type: MimePart
A reference to the created MimePart object.
Exceptions
ExceptionCondition
MailBeeInvalidArgumentExceptiondataToParse is a null reference (Nothing in Visual Basic).
Remarks
You can use this method to parse standalone MIME parts rather than entire messages. For instance, it's possible to tell IMAP server to return a particular MIME part. You can then parse the received data using Parse(Byte) method. Then, you can create Attachment object from the created MimePart.
Examples
The example is available in Envelope.GetEnvelopeItem topic.
See Also