Re: [Evolution-hackers] Labels when using Evolution EWS



On Thu, 2017-01-05 at 15:55 +0100, Andrew Seguin wrote:
I tried creating labels in Evolution with the same names as those
used in Outlook, without any difference in Behavior.

        Hi,
right, that's the way it works. The Labels column in the message list
shows only those labels which are known to the evolution. There is
currently no way to show all known labels, or which are set up on a
particular message, in the UI.

Going very low level, as you indicated that you can read the code,
search your
   ~/.cache/evolution/mail/
folder for the one which contains a folder-tree file, that's for your
EWS account. Beside this folder-tree file is a folders.db file, where
is stored the information you can see in the message list, including
the labels. Open this folders.db file and check what the 'labels'
column in respective tables contain. You can do also something like:

   $ sqlite3 folders.db "SELECT labels FROM inbox WHERE labels NOT LIKE ''"

The labels are separated by a space. Once you've defined the same in
the evolution then it should start to recognize them. There are issues
with encoding and spaces/underscores, though your examples seem to be
simple ASCII letters only.

        Hope it helps,
        Milan


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]