Browse our Products
Aspose.Email for .NET 23.6 Release Notes
This page contains release notes information for Aspose.Email for .NET 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 |
New Features
Signature Preservation and Removal
Signature preservation is now supported by default in mbox to pst conversion. Added a new
MboxToPstConversionOptions.RemoveSignatureproperty, to indicate whether the signature should be removed during conversion. You can set this property totrueto remove the signature.Public API changes:
- Added MboxToPstConversionOptions.RemoveSignature property.
Example usage:
var pstDataStream = new MemoryStream(); var personalStorage = PersonalStorage.Create(pstDataStream, FileFormatVersion.Unicode); MailStorageConverter.MboxToPst(new MboxrdStorageReader(new FileStream(fileName, FileMode.Open, FileAccess.Read), new MboxLoadOptions()), personalStorage, "Inbox", new MboxToPstConversionOptions() { RemoveSignature = true });Signature preservation is now supported by default when loading EML files. Added a new
LoadOptions.RemoveSignatureproperty, to indicate whether the signature should be removed during loading. You can set this property totrueto remove the signature.Public API changes:
- Added LoadOptions.RemoveSignature property.
Example usage:
var msg = MapiMessage.Load(fileName, new EmlLoadOptions() { RemoveSignature = true});
API Enhancement: Secure Email Signature Checking
- Added a new
SecureEmailManagerclass for checking the signature of secure emails. You can now check the signature of MapiMessage and MailMessage objects. - Added a new
SmimeResultclass 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:
var eml = MailMessage.Load(fileName);
var result = new SecureEmailManager().CheckSignature(eml);
var msg = MapiMessage.Load(fileName, new EmlLoadOptions());
var result = new SecureEmailManager().CheckSignature(msg);
var certFileName = "cert.pfx";
var cert = new X509Certificate2(certFileName, "pass");
var eml = MailMessage.Load(fileName);
var store = new X509Store();
store.Open(OpenFlags.ReadWrite);
store.Add(cert);
store.Close();
var result = new SecureEmailManager().CheckSignature(eml, cert, store);