Table of Contents

Class MboxToMarkdown

Namespace
LMKit.Document.Conversion
Assembly
LM-Kit.NET.dll

Provides conversion methods from MBOX (Unix mailbox) files to Markdown.

public static class MboxToMarkdown
Inheritance
MboxToMarkdown
Inherited Members

Examples

using LMKit.Document.Conversion;

byte[] mboxBytes = File.ReadAllBytes("mailbox.mbox");
string markdown = MboxToMarkdown.Convert(mboxBytes);

Remarks

Converts MBOX files containing multiple email messages into structured Markdown. Each message is rendered as a separate section with headers, body, and attachment list.

Methods

Convert(byte[], bool, CancellationToken)

Converts an MBOX file (as a byte array) to Markdown.

Convert(string, bool, CancellationToken)

Converts an MBOX file at the specified path to Markdown.

ConvertAsync(byte[], bool, CancellationToken)

Asynchronously converts an MBOX file (as a byte array) to Markdown.

ConvertAsync(string, bool, CancellationToken)

Asynchronously converts an MBOX file at the specified path to Markdown.

Share