Creates a new instance of
MimePart object from the specified MIME data.
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static MimePart Parse(
byte[] dataToParse
)
Public Shared Function Parse (
dataToParse As Byte()
) As MimePart
Parameters
- dataToParse
- Type: SystemByte
The byte array containing the MIME part contents (the header and the body).
Return Value
Type:
MimePartA reference to the created
MimePart object.
Exceptions 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 See Also