Hi Pavel,
I was able to test the new code that you uploaded. Let me give you my feedback.
It works. I am able to assign labels, but there is a question that I have for you.
If my label in Gmail includes spaces, your method is parsing the string as separate word, and multiple labels are being created and added to the message.
Example:
If my Gmail label is called Inventory Checked, then two labels are added to the message (Inventory and Checked).
From what i am able to tell, this code is coming from the method AddRange in class MessageFlagCollection.
Of course, the obvious solutions in my end is to rename my labels to not include spaces.
Thank you
I was able to test the new code that you uploaded. Let me give you my feedback.
It works. I am able to assign labels, but there is a question that I have for you.
If my label in Gmail includes spaces, your method is parsing the string as separate word, and multiple labels are being created and added to the message.
Example:
If my Gmail label is called Inventory Checked, then two labels are added to the message (Inventory and Checked).
From what i am able to tell, this code is coming from the method AddRange in class MessageFlagCollection.
Of course, the obvious solutions in my end is to rename my labels to not include spaces.
Thank you