/// <summary>
 /// Parse an existing multipart mime body into parts
 /// </summary>
 /// <param name="contentType"></param>
 /// <param name="body"></param>
 public MultipartMimeContent(string contentType, string body)
 {
     ContentType = new MimeContentType(contentType);
     Parts       = ParseBodyIntoParts(body, Boundary);
 }
 public MultipartMimeContent(MimeContentType contentType, string body)
 {
     ContentType = contentType;
     Parts       = ParseBodyIntoParts(body, Boundary);
 }
 /// <summary>
 /// Create a new multipart mime document
 /// </summary>
 public MultipartMimeContent()
 {
     ContentType = new MimeContentType("multipart/related");
     Boundary    = Guid.NewGuid().ToString("d");
     Parts       = new List <MessagePart>();
 }