Browse our Products
Aspose.Email for Java 24.6 Release Notes
This page contains release notes information for Aspose.Email for Java 24.6
All Changes
Key | Summary | Category |
---|---|---|
EMAILNET-41340 | Add .Abort/.Cancel methods for long-running operations | Enhancement |
EMAILNET-41365 | Error while load .vcf file | Bug |
EMAILNET-41367 | A problem with the FindAndExtractSoftDeletedItems method | Bug |
EMAILNET-41363 | PGP encrypted MSG to MIME corrupted conversion | Bug |
EMAILNET-41357 | High memory usage while sending/receiving messages using smtp/imap client | Bug |
EMAILNET-41358 | ‘From’ MSG to MIME conversion issue | Bug |
EMAILNET-41355 | Incorrect information when convert vcf to Distribution List | Bug |
New Features
Canceling Split Operations in MboxStorageReaderClass
Members for Java Version
splitInto(long chunkSize, string outputPath) - Splits the Mbox storage into smaller parts based on the specified chunk size.
splitInto(long chunkSize, string outputPath, string partFileNamePrefix) - Splits the Mbox storage into smaller parts with a specified filename prefix for each part.
cancel()
- Description: Interrupts an ongoing split operation.
Code Examples
MboxLoadOptions lo = new MboxLoadOptions();
lo.setLeaveOpen(false);
MboxrdStorageReader reader = new MboxrdStorageReader("source.mbox", lo);
reader.setMboxFileCreatedEventHandler(new NewStorageEventHandler() {
private int partCount = 0;
public void invoke(Object sender, NewStorageEventArgs e) {
partCount++;
if (partCount >= 5)
((MboxrdStorageReader)sender).cancel();
}
});
reader.splitInto(1000000, "outputPath");