Localized Gmail IMAP Folders -


I am creating a tool that analyzes Gmail specific folders (like '[Gmail] / All Mail' , '[Gmail] / Spam'). It seems that names are localized in relation to user localization settings, so '[Gmail] / all mail' shows '[Gmail]' as seen / for example 'Todos' for Spanish users.

Canonical name-specific for non-gmail folders? Is there a way to find out? Or a list of potentially localized names in the worst case scenario.

Update June 2016

Keep in mind that Gmail In IMAP, XLIST will be removed at the end.

You will need to use it instead.

Unfortunately, Gmail does not advertise this capability as per the imagery, but it has been implemented and worked correctly (tested on 09/09/2016) - Note: \ Trash flag:

  C: 55535a988a074191 "Returns (special-use) S: ... s: * list (\ HasNoChildren \ trash)" / "" [Gmail] / Bin " 

gives the same response as a regular list (I can say that this is a bug in Gmail).


< Strong> Original Answer

A Better Way: XLIST .

Google and Apple have a special IMAP order XLIST has developed.

The IMAP XLIST command list of folders and their well-known flag (\ inbox, \ draft, \ garbage, \ send, \ spam): < / P> XLIST (\ HasNoChildren \ Inbox) "/" inbox "

(Professional product I created) supports the XLIST command it automatically When used Servers requires advertises support for this feature. You can read more here:


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -