// To use the code below, import MailBee namespaces at the top of your code.using MailBee;
using MailBee.Mime;
// The actual code (put it into a method of your class)// Load the message from file.
MailMessage msg = new MailMessage();
msg.LoadMessage(@"C:\Docs\TestMail.eml");
// Remove the first body part from the collection.if (msg.BodyParts.Count > 0)
{
msg.BodyParts.RemoveAt(0);
}

' To use the code below, import MailBee namespaces at the top of your code.Imports MailBee
Imports MailBee.Mime
' The actual code (put it into a method of your class)' Load the message from file.Dim msg AsNew MailMessage
msg.LoadMessage("C:\Docs\TestMail.eml")
' Remove the first body part from the collection.If (msg.BodyParts.Count > 0) Then
msg.BodyParts.RemoveAt(0)
EndIf