Class MboxMarkdownConverter
- Namespace
- LMKit.Document.Conversion
- Assembly
- LM-Kit.NET.dll
Provides conversion methods from MBOX (Unix mailbox) files to Markdown.
public static class MboxMarkdownConverter
- Inheritance
-
MboxMarkdownConverter
- Inherited Members
Examples
using LMKit.Document.Conversion;
byte[] mboxBytes = File.ReadAllBytes("mailbox.mbox");
string markdown = MboxMarkdownConverter.MboxToMarkdown(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
- MboxToMarkdown(byte[], bool, CancellationToken)
Converts an MBOX file (as a byte array) to Markdown.
- MboxToMarkdown(string, bool, CancellationToken)
Converts an MBOX file at the specified path to Markdown.
- MboxToMarkdownAsync(byte[], bool, CancellationToken)
Asynchronously converts an MBOX file (as a byte array) to Markdown.
- MboxToMarkdownAsync(string, bool, CancellationToken)
Asynchronously converts an MBOX file at the specified path to Markdown.