Browse our Products
Aspose.Email for Java 23.6 Release Notes
This page contains release notes information for Aspose.Email for Java 23.6
All Changes
Key | Summary | Category |
---|---|---|
EMAILNET-40801 | Improvement in CheckSignature method | Feature |
EMAILNET-41086 | Email address is not valid when loading a task item (MapiTask.fromVTodo) | Enhancement |
EMAILNET-41070 | Signature preserving is not supported by default | Enhancement |
EMAILNET-41034 | Aspose.Email.MapiMessage.load method throws error while loading some emails | Bug |
EMAILNET-41093 | Some fields are empty when save vcard | Bug |
EMAILNET-41059 | TnefLoadOptions.PreserveEmbeddedMessageFormat = True is not honored | Bug |
EMAILNET-41043 | NullReferenceException when using SaveAllHeaders and RenderTaskFields | Bug |
EMAILNET-41085 | Not able to convert MapiMessage to MapiTask | Bug |
EMAILNET-41082 | VCardContact nickname not written to vcf | Bug |
EMAILNET-41089 | GraphClient does not send attachement of mail | Bug |
EMAILNET-41096 | When license is set - mht is saved incorrectly | Bug |
EMAILNET-41081 | How to set Followup flag to MapiContact, MapiTask and MapiJournal while creating PST | Bug |
EMAILNET-40942 | MailMessage.CheckSignature Issue | Bug |
EMAILNET-41025 | Encrypted and signed emails are not converted correctly from Mbox to Pst | Bug |
EMAILNET-41063 | Appointment.Save exception | Bug |
EMAILJAVA-35186 | ArgumentException: Culture ID: 15369/8192 is not a supported culture | Bug |
New Features
Signature Preservation and Removal
Signature preservation is now supported by default in mbox to pst conversion. Added a new
MboxToPstConversionOptions.RemoveSignature
property, to indicate whether the signature should be removed during conversion. You can set this property totrue
to remove the signature.Public API changes:
- Added MboxToPstConversionOptions.RemoveSignature property.
Example usage:
MboxToPstConversionOptions mboxConversionOptions = new MboxToPstConversionOptions(); mboxConversionOptions.setRemoveSignature(true); PersonalStorage personalStorage = PersonalStorage.create("sample.pst", FileFormatVersion.Unicode); MailStorageConverter.mboxToPst(new MboxrdStorageReader("sample.mbox", new MboxLoadOptions()), personalStorage, "Inbox", mboxConversionOptions);
Signature preservation is now supported by default when loading EML files. Added a new
LoadOptions.RemoveSignature
property, to indicate whether the signature should be removed during loading. You can set this property totrue
to remove the signature.Public API changes:
- Added LoadOptions.RemoveSignature property.
Example usage:
EmlLoadOptions emlLoadOptions = new EmlLoadOptions(); emlLoadOptions.setRemoveSignature(true); MapiMessage msg = MapiMessage.load(fileName, emlLoadOptions);
API Enhancement: Secure Email Signature Checking
- Added a new
SecureEmailManager
class for checking the signature of secure emails. You can now check the signature of MapiMessage and MailMessage objects. - Added a new
SmimeResult
class to store the results of checking secure emails.
Public API changes:
- Added SecureEmailManager.checkSignature(MapiMessage msg) method.
- Added SecureEmailManager.checkSignature(MapiMessage msg, X509Certificate2 certificateForDecrypt) method.
- Added SecureEmailManager.checkSignature(MapiMessage msg, X509Certificate2 certificateForDecrypt, X509Store store) method.
- Added SecureEmailManager.checkSignature(MailMessage msg) method.
- Added SecureEmailManager.checkSignature(MailMessage msg, X509Certificate2 certificateForDecrypt) method.
- Added SecureEmailManager.checkSignature(MailMessage msg, X509Certificate2 certificateForDecrypt, X509Store store) method.
Example usage:
MailMessage eml = MailMessage.load(fileName);
SmimeResult result = new SecureEmailManager().checkSignature(eml);
MapiMessage msg = MapiMessage.load(fileName, new EmlLoadOptions());
SmimeResult result = new SecureEmailManager().checkSignature(msg);
String certFileName = "cert.pfx";
X509Certificate2 cert = new X509Certificate2(certFileName, "pass");
MailMessage eml = MailMessage.load(fileName);
X509Store store = new X509Store();
store.open(1);
store.add(cert);
store.close();
SmimeResult result = new SecureEmailManager().checkSignature(eml, cert, store);