NewDeveloper kit

PST and OST files, from your own software.

The engine behind Mailtria as a library: read, repair, convert, split, merge and deduplicate Outlook data files from C, Python, .NET, Go or Java. No Outlook needed, every result checked.

Version 1.0.0 · 2.4 MB · SHA-256

Reading is freeOne-time licencesNo third-party packages
import mailtria

mailtria.licence("MTK1-...")              # writing needs a key

with mailtria.open("archive.pst") as pst:   # reading is free
    for folder in pst.walk():
        print(folder.path, folder.count)
    for m in pst.search("invoice", limit=10):
        print(m.date, m.sender, m.subject)

report = mailtria.export("archive.pst", "archive.zip", format="eml")
print(report.status, report.output_items)
using Mailtria;

Kit.SetLicence("MTK1-...");

using var pst = PstFile.Open("archive.pst");
foreach (var f in pst.Walk())
    Console.WriteLine($"{f.Path} {f.Count}");

var report = Kit.Repair("damaged.pst", "repaired.pst");
Console.WriteLine($"{report.Status}: {report.OutputItems} recovered");
mailtria.SetLicence("MTK1-...")

pst, err := mailtria.Open("archive.pst")
if err != nil { log.Fatal(err) }
defer pst.Close()
for _, f := range pst.Walk() {
    fmt.Println(f.Path, f.Count)
}

report, err := mailtria.Split("archive.pst", "parts",
    mailtria.Options{"by": "year"})
Mailtria.setLicence("MTK1-...");

try (var pst = Mailtria.open("archive.pst")) {
    for (var f : pst.walk())
        System.out.println(f.path() + " " + f.count());
}

var report = Mailtria.merge(
    List.of("2023.pst", "2024.pst"), "all.pst", "merge");
#include "mailtria.h"

char *report = NULL;
int code = mt_run(
  "{\"op\": \"convert\", \"input\": \"mail.ost\","
  " \"out\": \"mail.pst\"}", &report);
/* 0 passed, 3 warnings, 5 licence key needed ... */
printf("%d %s\n", code, report);
mt_free(report);
Why this kit

Built for mail you cannot lose.

Archiving, e-discovery, migration and backup software all meet PST files. This is the same engine our own tools trust with every file.

No Outlook, no MAPI

Our own reader and writer, built from Microsoft's published PST format. Runs on servers, in containers and on machines without Office.

Every result checked

Each output is read back and compared with the source before it is kept, and every call returns a report: counts, checks, warnings, errors.

The engine behind Mailtria

The same code as the website, the desktop app and the command line, tested on every release against independent PST readers.

Files stay where they are

The library has no network code. It never changes the files it reads and never replaces an existing file.

Keys work offline

A licence key is checked on your machine. No activation server, nothing to call home, not tied to one computer.

One library, five languages

C, Python, .NET, Go and Java, each without third-party packages. Every call is JSON in and out, so other languages are easy to add.

What it does

Every operation, one call.

The options are the same as the pst command line, and every call returns the same report. Outputs never replace an existing file.

ReadOpen PST and OST files, list folders, page and search messages, read bodies, recipients and attachments.
RepairScan a damaged PST and recover what can be read into a new, checked PST.
ConvertOST to PST, PST to EML, MBOX or MSG, and EML, MSG or MBOX into a new PST.
Split and mergeSplit by year, month, top folder or size; merge several PSTs into one.
DeduplicateFind exact or same-content duplicates, per folder or across the file, and write a clean copy.
InspectCheck a file read-only and summarise its folders, sizes and problems.
Licences

Paid once. Yours to keep.

Per developer, with a year of updates. Versions released in that year keep working after it.

Trial

$0

Try every part of the kit.

  • Reading is free, always
  • Writing free for 7 days
  • No card needed
Start the trial
Most popular

Developer

$299 one-time

For your own organisation.

  • Every operation, unlimited
  • Any number of your computers and servers
  • Internal tools and services
  • 1 year of updates

Redistribution

$999 one-time

For software you ship.

  • Everything in Developer
  • Ship it in your products, any number of users
  • Hosted services for your customers
  • No royalties or per-user fees

What each licence allows, in plain words: LICENCE.txt in the download. Prices in US dollars. Not refundable: try it free first.

Need several developers or an invoice? Email support@mailtria.com.

Get started

Running in five minutes.

  1. DownloadOne zip: mailtria.dll, the C header, a wrapper for each language and a sample for each.
  2. Read a fileCopy the wrapper and the DLL next to your program and open a PST. Reading needs no key.
  3. Add your keyStart the free trial or buy a licence on your account page, copy the key, and set it once in your code.

Windows 10, 11 and Server, 64-bit. .NET 8, Python 3.8, Go 1.21 and Java 22 or later.

Questions

About the developer kit.

What can I do without a key?

Everything that reads: open files, list folders and messages, read messages and attachments, search, check files and run any operation as a dry run. Writing a result (a repaired PST, an export, a split) needs a key. A free 7-day trial key unlocks everything.

Developer or Redistribution?

Developer is for use inside your own organisation, on any number of its computers and servers, including internal services. Redistribution also lets you ship the kit inside software you sell or give to others, or run it in a hosted service for your customers, with no per-user fees.

Is it a subscription?

No. Each licence is paid once and includes a year of updates. Kit versions released in that year keep working after it.

Which platforms are supported?

Windows x64 today, as one DLL. Linux and macOS builds of the same library are on the way; the Python, Go and Java wrappers already support them.

How large can the files be?

Unicode PST and OST files up to the format's limits, including Outlook 2013 and later OST files. The library reads files in place without loading them into memory.

Does my key go into my product?

With Redistribution, yes: your software sets the key, and your users need no key of their own. Keep it out of public repositories. The key names your company, and reports made with it say so.

Can I try it before buying?

Yes. Download the kit, then start a free 7-day trial from your account page. No card needed.

Can I get a refund?

Kit licences are not refundable, so please try the kit on your own files first: reading is always free and the 7-day trial unlocks everything. If you were charged twice for the same licence, we refund the duplicate.

Try it on your own files.

Free to download. Free to read any PST or OST.