We are pleased to announce the release of Aspose.Email for Java 18.12. This release provides the ability to create a folder hierarchy in PST files using string notation and other bug fixes. For a detailed note on what is new and fixed, you may visit the release notes section of API.
Create folder hierarchy in PST file by using string notation
This release adds an overload to addSubFolder(string name, bool createHierarchy) and createPredefinedFolder(string name, StandardIpmFolder defaultFolder, bool createHierarchy) functions that enable you to create folder hierarchy using string notation as shown below in the code example.
PersonalStorage personalStorage = PersonalStorage .create("CreateFolderHierarchyUsingStringNotation.pst", FileFormatVersion.Unicode); personalStorage.getRootFolder() .addSubFolder("Inbox\\Folder1\\Folder2", true);
By setting the second parameter of addSubFolder() to true, you can create folder hierarchy using string notation. Backslash ("\") is used as the path separator.
This release includes several improvements in term of bug fixes. Following is the list of improvements in this month’s release.
- Fetching messages with ImapClient
- Converting email message to MHTML
- Reading Distribution Lists
- Working with MapiContact and VCF
- VCF to MHT conversion
- Working with ICS
- Working with MapiMessage attachments
- Working with EMLX files
We have detailed information available online for getting started with the Aspose.Email for Java API. These are: