+1 vote

How to get all flags attached with one mail?

by

1 Answer

0 votes

You can use Imap.GetFlagsByUID:

List<Flag> flags = client.GetFlagsByUID(uid);

List<MessageFlags> flags = client.GetFlagsByUID(
    new List<long>{ uid1, uid2 });

You can also find Flags property on MessageInfo instance.

by (301k points)
...