We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Exchange MailMessage update category?

Hi,

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

regards,
Ruben

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”);<o:p></o:p>

var categories2 = FollowUpManager.GetCategories(mapi2);

FollowUpManager.AddCategory(mapi2, "Red Category");

FollowUpManager.RemoveCategory(mapi2, "Red Category");

FollowUpManager.ClearCategories(mapi2);


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.