Check the tag name to see if the tag name is configured in the account
Check to see if the tag is already set in the message
Add the tag to the message and save the message.
Created by The eXo Platform SARL
Author : Nam Phung
phunghainam@gmail.com
Jun 23, 2007
Mail Folder is an object that keep track of the information of a set of messages
Folder() -
Constructor for class org.exoplatform.mail.service.Folder
Construct a multipart/report object with the specified plain
text, disposition notification, and headers from the original message
to be returned to the user.
Find all the message that has the tag , remove the tag from the message and save
Remove the tag from the account and save
Update or invalidate the cache if needed