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

2017-01-05 Thread Milan Crha
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
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Labels when using Evolution EWS

2017-01-05 Thread Andrew Seguin
Hi,

I have a corporate mail account (Office 365) which I would like to use
under Evolution using EWS. I got Evolution synchronizing the account,
and can see my emails which was a great first step.

However, a big part of my work flow to date has been based on the
follow-up flag, labels (ex: "services", "solutions", "support") and
search folders. I started by adding the "Labels" column to the Inbox
view, but no labels are listed. Double checking in the Outlook
online/web interface, I can see the labels are showing up.

Is anybody using this functionality / did I need to enable something
more or does the feature work in some way I wasn't expecting?


Evolution as installed is from Debian's repository, version 3.22.3.

I tried creating labels in Evolution with the same names as those used
in Outlook, without any difference in Behavior.

While I was searching about this topic, most hits were older topics
from the mailing list. I found that the proposed code for this
functionality was created and worked on through time (ex:
https://mail.gnome.org/archives/evolution-hackers/2011-July/msg00029.html
); looking at the code in the repository (cloned the git repo), I can
see that code for dealing with labels is there (and has been
maintained).

Tips would be appreciated,
Andrew
___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers