MimeMessageLoadAsync Method (Stream, Boolean, CancellationToken)
public static Task<MimeMessage> LoadAsync( Stream stream, bool persistent, CancellationToken cancellationToken = default )
If persistent is true and stream is seekable, then the MimeParser will not copy the content of MimeParts into memory. Instead, it will use a BoundStream to reference a substream of stream. This has the potential to not only save mmeory usage, but also improve MimeParser performance.