EMCRYPT Converted MSG to MHT, PDF format. Implemented PDF encryption and more using APIs

About EMCRYPT

EMCRYPT logo

EMCrypt is a plug-in for Microsoft Outlook, designed to effectively and easily encrypt and then convert Outlook emails to PDF format. It supports all versions from 2003 to 2010, and is compatible with Windows XP, Vista, and Windows 7.

With EMCrypt, the email, along with any attachments, is converted to PDF, encrypted, and can then be opened by the recipient using a PDF reader and the password. Appearance and functions can be adjusted to suit individual tastes

Requirements Scenario

The most important requirements are outlined below.

  • 100% .NET compliant and .NET native (including .NET 3.5)
  • Single library for 32-bt and 64-bit deployment
  • Simple installation and distribution
  • Royalty-free distribution license
  • Excellent support including searchable online forums, online samples, and online documentation
  • Product stability
  • No requirement to install Microsoft Office applications on the server
  • No requirement to create special system services for PDF transformation

PDF functionality:

Reporting functionality:

Import functionality:

The Aspose components met or exceeded all of our requirements.

Solution Implementation

In order to convert the Outlook MSG format to PDF, we have used Aspose.Email for .NET to convert the MSG file to MHT, and then with Aspose.Words for .NET, we have converted the MHT file to PDF.

After the conversion was completed, we used Aspose.PDF for .NET to add the attachments to the PDF and encrypt the resulting PDF, again using Aspose.PDF for .NET.

Benefits Gained by Switching to Aspose

Aspose.Total for .NET was simple to implement programmatically, rich in functionality, and flexible enough to tweak for specific requirement scenarios. Most importantly to the development team, it provided a way for content owners to manage their own content ongoing.

Editors note, January 2014: Since this case study was published, some of Aspose tools have changed. Aspose.Network is now Aspose.Email. Meanwhile, Aspose.Pdf.Kit, mentioned in the next paragraph, has been integrated into Aspose.PDF to create a flexible component for creating and manipulating PDF files.

Future Implementations

Future opportunities are ample with Aspose.PDF for .NET. We actually got Aspose.Total for .NET, and by combining Aspose.PDF for .NET with some of the other modules, we can generate Microsoft Word documents, create and auto-populate spreadsheets, turn spreadsheets and documents into PDFs, combine multiple PDFs into a single one (very important for a host of documents required for capturing applicant project plans, maps, and other documentation), and even the possibility of using the Aspose.BarCode for .NET module to develop mobile applications to allow game wardens to tag evidence in the field for chain-of-custody tracking.

Conclusion

We are extremely satisfied and excited about Aspose.PDF for .NET, plus the rest of the Aspose.Total for .NET suite of products. The benefits afforded and development labor saved, made its cost-benefit return very high. We look forward to using it in many other applications.

Screenshots

EMCrypt button in Microsoft Outlook
Figure 1: The EMCrypt button in Microsoft Outlook.
Exported PDF preview
Figure 2: An exported PDF.
Preview of Email Content
Figure 3: The email content.
EMCrypt webpage preview
Figure 4: The EMCrypt webpage.