Hi Mickaël,
I'm trying to use DavMail to access an Office 365 account while preserving the Thunderbird tags. Setting/clearing tags in Thunderbird properly shows up as Categories in Outlook. However, when I copy a mail with tags from another account to the 'DavMail' Thunderbird account, the tags are not preserved. davmail.log shows that the tag is properly mentioned in the IMAP 'append' command, but it seems that DavMail doesn't process that information. I'm not sure if this has worked in the past.
Note that my .davmail.properties contains:
davmail.imapFlags.$label4=To Do
See the attached log file for DEBUG information. I hope this provides enough information. Could you please have a look? Thanks in advance!
Best regards,
Roel
I did an attempt to let the IMAP 'append' command handle the keywords and it seems to work. See append_with_keywords.patch. Feel free to throw it aside and do a better implementation :-)
Patch merged, I just didn't make the method static as we can access it through session instance.
Great! Thanks!
r2447 works fine for me (so also without the 'static').
Last edit: Roel van de Kraats 2016-12-21
Unit tests merged, only missing piece is a little bit of documentation on this flags to category feature.