Exchange MailMessage update category?


I’d like to be able to update the category for a exchange message or conversation. Is there a way to do this?


Hi Ruben,

Thank you for contacting Aspose support team.

Aspose.Email provides this feature for MapiMessage only as follows:

MapiMessage mapi2 = MapiMessage.FromFile(path + "RedCategory.msg");
var categories2 = FollowUpManager.GetCategories(mapi2);
FollowUpManager.AddCategory(mapi2, "Red Category");
FollowUpManager.RemoveCategory(mapi2, "Red Category");

However this feature is not available for MailMessage as it does not retain this information. I am afraid that currently it is not possible to fetch category information from exchange server and update it.

Should you have any other query in this regard, please feel free to write us back.