• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Filter Messages from Exchange Server by Message Size & Identify Folder Type using EWS in Java

Ranch Hand
Posts: 714
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is new in this release?

We are pleased to announce the new release of Aspose.Email for Java 17.5.0 . This release allows modifying or deleting occurrences from a recurrence pattern, filtering messages from Exchange server based on message size, identifying folder and message types retrieved from Exchange server, and others. This release provides a new feature of modifying or deleting a specific occurrence from an event’s recurrence pattern. This is achieved using the MapiCalendarExceptionInfo class. Retrieving items from Exchange server folder, such as Deleted Items, can include items of different types. User’s logic is prone to error if items are fetched with the wrong API method. This month’s release provides the capability to get the item type from ExchangeMessageInfo, the summary information about an item, and use the appropriate method to fetch the message from the server as shown in the code sample on blog announcement page. This month’s release also provides the capability to get folder type information from FolderInfo, the summary information about a folder. It has also enhanced the functionality of filtering messages from Exchange Server by providing additional option of filtering messages by message size. Users can now specify a message size to retrieve only those messages that meet the message size criterion. EML files, that have well defined structure, can now be sent out using the API’s SMTP client without first loading in MailMessage. This helps in situations where there are limited memory resources in a system and addition loading of large messages by MailMessage can lead to out of memory issues. This month’s release also fixes several bugs that were either reported with the Java version of the API or with the equivalent .NET API. This further adds to the performance and stability of the API.The main improved features & bug fixes added in this release are listed below

- Option to modify/delete occurrences in a recurrence (.NET)
- Provision of MessageSize in ExchangeQueryBuilder
- Forwarding message without loading EML file using MailMessage
- Option to render selected or all information of an IPM.Contact to Mhtml
- Provide EWSClient.FolderType information in EWS client
- Provision of Message Class information in ExchangeMessageInfo
- Add/Update mail headers via mail merge
- EWS client can't load emails in folders containing large number of messages.
- RRULE problem creating multiple events on same day
- RRULE problem creating events late by two days
- Restoring Pst to Outlook.Office 365 account causes error in calendar items
- EWSClient.GetContact (s) raises exception for this Exchange account
- Message count different in MBox read by Aspose.Email
- Mails not read from Mbox file - (.NET)
- ICS with RRULE not imported properly into PST
- Resaving MSG file loses the spaces and tabs in HTML body
- All Day Event Checkbox not clicked in Outlook PST created by Aspose.Email
- Sent mail changed to Draft after setting Read/Un-Read flag
- Setting Read/Un-Read flag does not take effect in the PST
- Exception while debugging ImapClient in VS 2017
- EWSClient.CreateFolder raises exception with AE 17.3, whereas worked fine with AE 17.1
- Out Of memory exception when processing Mbox file
- Exception raised while updating attachment name containing double single quote

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 you briefly how to use Aspose.Email for performing different tasks like the followings.

- Modify/Delete Occurrences from Recurrences
- Filter Messages from Exchange Mailbox

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 its 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 as Desktop Application.

More about Aspose.Email for Java

- Homepage of Outlook PST, MSG & EML Java Component, Aspose.Email for Java
- Download Aspose.Email for Java
- Online documentation of Aspose.Email for Java

Contact Information
Aspose Pty Ltd,
Suite 163, 79 Longueville Road
Lane Cove, NSW, 2066
Aspose - Your File Format Experts
Phone: 888.277.6734
Fax: 866.810.9465
    Bookmark Topic Watch Topic
  • New Topic