Menu

#634 Copy mail doesn't preserve tag/category

v4.7.2
closed-fixed
nobody
None
5
2018-01-28
2016-11-09
No

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

1 Attachments

Discussion

  • Roel van de Kraats

    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 :-)

     
  • Mickael Guessant

    • status: open --> open-fixed
     
  • Mickael Guessant

    Patch merged, I just didn't make the method static as we can access it through session instance.

     
    • Roel van de Kraats

      Great! Thanks!
      r2447 works fine for me (so also without the 'static').

       

      Last edit: Roel van de Kraats 2016-12-21
  • Mickael Guessant

    Unit tests merged, only missing piece is a little bit of documentation on this flags to category feature.

     
  • Mickael Guessant

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.