Spam Email Analysis & Filtering Methods with PST Size Reduction in Java Apps
(Oct 20 2014 - 01:12:09 AM
) - [print blog
What's New in this Release?
We are pleased to announce the new release of Aspose.Email for Java 4.6.0. Similar to the equivalent .NET version, this month’s release introduces new features that let you filter spam email messages based on the naive Bayes classifiers. It also brings improvements to the size of generated PSTs. The naive Bayes classifier offers a high accuracy anti-spam message classification and provides an effective measure for distinguishing between spam and ham (non-spam) messages. This month’s release of Aspose.Email for Java introduces this new feature of spam analysis and filtering using the same proven method. Aspose.Email for Java now offers to spam analyzer to filter spam messages. This step is carried out on data sets of spam and ham messages for training the filter. Normally, a set of 100-200 messages each is used for this purpose. Once the sets are ready, the API’s SpamAnalyzer class is used to train the filter with both these sets as inputs. Once the training is complete, the results of the trained classifiers can be stored to disc calling the saveDatabase method of the class. Testing is carried out by presenting sample messages to the test method of the class. Based on the training results, the tests provide the probability of a message being spam or ham. Aspose team has also improved the size of PSTs that are generated using the Aspose.Email API. The PSTs created now are almost 25% smaller in size compared to the previous versions. We are still working to bring further improvements to this area. Ported from the .NET version, this month’s release includes the same bug fixes, issues with message encodings when converting between different message types, exceptions when loading certain message files and calendar items, Information loss when processing TNEF files, text alignment issues when loading/saving calendar items and many more. The main improved features & bug fixes added in this release are listed below
- Email spam analysis and filtering
- EML to PST conversion causes large size PST creation is now fixed
- Inline images lost is fixed while converting MapiMessage -> MailMessage
- Fixed: Setting Exchange Format address in To field gives error
- Text alignment inverted while reading/writing to Appointment object
- Calendar view disappearance is fixed while loading/saving image
- Appointment time changes while loading and saving the ICS file
- Appointment saved using Aspose.Email doesn't shown time in local timezone
- Exception while loading ICS file.
- Saving TNEF Calendar as EML loses the "Required" field
- MailMessage.Save interchanges content of the message body
- MSG to MHTML: Encoding issue
Other most recent bug fixes are also included in this release.
Newly added documentation pages and articles
Some new tips and articles have now been added into Aspose.Email for Java documentation that may guide users briefly how to use Aspose.Email for performing different tasks like the followings.
- Bayesian Spam Analyzer: http://www.aspose.com/docs/display/EmailJava/Bayesian+Spam+Analyzer
- Displaying Email Information on Screen: http://www.aspose.com/docs/display/EmailJava/Displaying+Email+Information+on+Screen
Overview: Aspose.Email for Java
Aspose.Email for Java is a Non-Graphical Java component that enables Java applications to read and write MS Outlook MSG files from within a Java application without using MS Outlook. It enables developers to create new MSG file from scratch, update an existing MSG file, read Outlook MSG file & get its properties like subject, body, recipients in to, cc and bcc, adding or removing attachment, sender information & MAPI properties. Aspose.Email can be used with Web as well as Desktop Application.
More about Aspose.Email for Java
- Homepage of Aspose.Email for Java: http://www.aspose.com/java/email-component.aspx
- Download Aspose.Email for Java: http://www.aspose.com/community/files/72/java-components/aspose.email-for-java/default.aspx
- Online documentation of Aspose.Email for Java: http://www.aspose.com/docs/display/emailjava/Home
- Demos of Aspose.Email for Java: http://www.aspose.com/demos/java-components/default.aspx
- Post your technical questions/queries to Aspose.Email for Java Forum:
- Receive notifications about latest news and supported features by subscribing to Aspose.Email for Java blog: http://www.aspose.com/blogs/aspose-products/aspose-email-product-family.html
Aspose Pty Ltd,
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066