Aspose.Email Java for Apache POI - HSMF

Introduction

Apache POI - HSMF

HSMF is the POI Project’s pure Java implementation of the Outlook MSG format.

At this time, it provides low-level read access to all of the file, along with a user-facing way to get at the common textual content of MSG files.

Read more at poi.apache.org

Aspose.Email for Java

Aspose.Email for Java is a Java class library that enables Java applications to read and write email message files in various formats without Microsoft Outlook.

It provides classes to read and update MSG,EML,EMLX,OFT files, add/remove attachments and recipients, update subject, body and other MSG file properties.

Read more at aspose.com

Aspose.Email Java for Apache POI - HSMF

Project Aspose.Email for Apache POI - HSMF shows how different tasks can be performed using Aspose.Email Java APIs in comparison with Apache POI HSMF. The project also covers the features that are only available in Aspose.Email APIs but not in Apache POI HSMF for dealing with emails messages.

This project is helpful for developers who want to compare Apache POI HSMF with Aspose.Email OR migrate from Apache POI HSMF to Aspose.Email.

System Requirements and Supported Platforms

System Requirements

Following are the system requirements to execute Aspose.Email Java for Apache POI - HSMF:

  • Java 1.4 or above installed.
  • Downloaded Aspose.Email component.
  • Downloaded Apache POI - HSMF libraries.

Supported Platforms

Following are the supported platforms:

  • Apache POI 3.11.
  • Aspose.Email 4.2.0.0 and above.
  • Java IDE (Eclipse, NetBeans, IntelliJ, …).

Downloading and Configure

You can directly include the source code of Aspose.Email Java for Apache POI in your own project, Following releases of running examples are available to download on all of the below mentioned social coding sites:

Releases - Maven Based

CodePlex

GitHub

Releases - Java Based

Following releases of running examples are available to download on all of the below mentioned social coding sites:

CodePlex


GitHub

Download Required Libraries

Download required libraries mentioned below. These are the required for executing comparison examples.

How to configure the source code

Please follow these simple steps in order to open and extend the source code while using:

Eclipse IDE

  1. Download/Clone the source code.
  2. Open Eclipse and Choose File > Import…
  3. Select General > Existing Projects into Workspace.
  4. Browse to select root directory of the latest source code that you have downloaded.
  5. Click Finish to successfully import the downloaded project.

NetBeans IDE

  1. Download/Clone the source code.
  2. Open NetBeans and Choose File > New Project…
  3. In Choose Project tab: Select Java > Java Project with Existing Sources.
  4. In Name and Location tab: Provide your desired Project Name and Project Folder.
  5. In Existing Sources tab: Click Add Folder… and browse to select root directory of the latest source code that you have downloaded.
  6. Click Finish to successfully create the downloaded project.

Source code overview

There are two projects related to Aspose.Email Java for Apache POI - HSMF

  • Aspose.Email vs Apache POI HSMF - Contains the code comparison for features in Apache POI HSMF and Aspose.Email.
  • More Features of Aspose.Email - Contains the abundant features of Aspose.Email in comparison with Apache POI HSMF to manipulate Outlook email file formats from within the applications

To configure Aspose.Email for Java API, include the Aspose repository URL and Aspose.Email for Java API maven dependency in your pom.xml as following:

Aspose Maven Repository


 <repositories>

    <repository>

        <id>aspose-maven-repository</id>

        <name>Aspose Maven Repository</name>

        <url>https://releases.aspose.com/java/repo/</url>

    </repository>

</repositories>

Aspose.Email for Java Maven Dependency


 <dependency>

    <groupId>com.aspose</groupId>

    <artifactId>aspose-email</artifactId>

    <version>5.5.0</version>

    <classifier>jdk16</classifier>

</dependency>

Note: Please use the available latest version of the Aspose API.

Support, Extend and Contribute

Support

From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.

This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.

You can log any issues or suggestions related to Aspose.Email Java for Apache POI HSMF using any of the following platforms:

Extend and Contribute

Aspose.Email Java for Apache POI HSMF is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.

Source Code

You can get the latest source code from one of the following locations

Sample Code Examples

This section includes the following topics