How to convert and view OST and PST files

Introduction

OST (Offline Storage Table) and PST (Personal Storage Table) are formats of Personal Folder File (PFF). Both formats contains e-mail messages, contacts and appoitments.
PST files - contain data of user personal Outlook folders
OST files - contain data, that downloaded from Exchange Server.

View OST and PST files

The OST/PST can be opened with Microsoft Outlook. In case you need to view a PST/OST file in a browser or in a standard image or PDF viewer application, you can convert it to HTML, JPEG, PNG  PDF format with GroupDocs.Viewer for .NET. 

Convert OST and PST to HTML

To convert OST and PST files to HTML with GroupDocs.Viewer for .NET use following code:

using (Viewer viewer = new Viewer("sample.pst"))
{
       HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources("output.html");

       viewer.View(options);
}

The following screenshot shows the output HTML file opened in a browser.

Convert OST and PST to JPG

To convert OST and PST files to JPG with GroupDocs.Viewer for .NET use following code: 

using (Viewer viewer = new Viewer("sample.pst"))
{
       JpgViewOptions options = new JpgViewOptions("output.jpg");

       viewer.View(options);
}

The following screenshot shows the output JPG file opened in a Windows Photo Viewer application.

Convert OST and PST to PNG

To convert OST and PST files to PNG with GroupDocs.Viewer for .NET use following code: 

using (Viewer viewer = new Viewer("sample.pst"))
{
       PngViewOptions options = new PngViewOptions("output.png");
	   
       viewer.View(options);
}

The following screenshot shows the output PNG file opened in a Windows Photo Viewer application.

Convert OST and PST files to PDF

To convert OST/PST files to PDF with GroupDocs.Viewer for .NET use following code: 

using (Viewer viewer = new Viewer("sample.pst"))
{
       PdfViewOptions options = new PdfViewOptions("output.pdf");
	 
       viewer.View(options);
}

The following screenshot shows the output PDF file opened in a browser.

More resources

GitHub Examples 

You may easily run the code above and see the feature in action in our GitHub examples:

Free Online App 

Along with full-featured .NET library we provide simple but powerful free Apps. You are welcome to view your documents with free to use online GroupDocs Viewer App.