Load Appointment with Byte Order Mark Characters & Reset PST Password Using Java
Join the DZone community and get the full member experience.Join For Free
What’s new in this release?
We are pleased to announce the new release of Aspose.Email for Java 5.0.0. Ported form its equivalent .NET version; it incorporates the same enhancements and bug fixes. For a complete list of API changes, you may visit the public API changes in Aspose.Email for Java 5.0.0 page of our documentation section. Aspose.Email already provides the support for checking a PST for password protection. This month’s release further enhances this capability by allowing user to reset the password property of the PST using the PST’s message store. In order to remove/reset this property, the value is set to zero (0) for getting it removed. A new property, known as Store, has been introduced in this month’s release for this purpose. For a working code sample, please have a look at our documentation article, Working with PST Password Protection Properties. With this month’s release, you can load appointments having Byte Order Mark (BOM) characters at their start. Though BOM use is optional, this was not supported earlier with the API. The same Appointment class’s load method can be used to load such appointments. This month’s release fixes all those bugs that were reported in the equivalent .NET version or directly with the Java API. These include issues with text color during conversion of messages to other formats, encoding issues while saving appointment files, exporting appointments to message formats and exceptions arose during MSG to XPS conversion, and TNEF. The main improved features & bug fixes added in this release are listed below
- Option to load calendar files starting with BOM characters
- Removing MapiPropertyTag.PR_PST_PASSWORD from a PST does not take effect after saving
- PR_MESSAGE_DELIVERY_TIME value set incorrectly
- MapiMessage.FromFile issues in Parallel.ForEach loop
- Wrong reminder set while adding calendar item to PST
- ICS->MSG: Text formatting such as styles and headings lost
- ICS->ICS: Characters encoding issue
- PST created from calendar events crashes Outlook
- MSG->MHTML: Text Color changes in output
- Complete email address rendered instead of "Display Name" only
- Subject garbled due to encoding issues while loading into MailMessage
- "Unknown type of ActionProperty: NONE" - Exception raised while laoding ICS
- Attachments names are not read properly by MailMessage-Java
Other most recent bug fixes are also included in this release.
Overview:Aspose.Email for Java
Aspose.Email for Java is a Non-Graphical Java component that enables Java applications to read and write Microsoft Outlook documents without utilizing Microsoft Outlook. It enables developers to create new MSG file from scratch, update an existing MSG file, read Outlook MSG file & get it's properties like subject, body, recipients in to, cc and bcc, Adding or removing attachment, sender information and MAPI properties. Aspose.Email for Java can be used with Web as well asDesktop Application.
Opinions expressed by DZone contributors are their own.