开发者

Getting all possible labels via imap

开发者 https://www.devze.com 2023-01-05 03:46 出处:网络
Using IMAP, how can I get all available labels from my gmail account. I need all my labels created using gmail to my ImapClie开发者_高级运维nt (using Java).FYI \"*IMAP translates labels with a forward

Using IMAP, how can I get all available labels from my gmail account. I need all my labels created using gmail to my ImapClie开发者_高级运维nt (using Java).


FYI "*IMAP translates labels with a forward slash (/) into a folder hierarchy like you see in your computer's file system. If you have a label such as 'Family/Friends,' you may want to reconsider your naming schemes because your IMAP client will display it as a folder named 'Family' with a subfolder named 'Friends.' To get labels using java, you can refer this code: http://gmailassistant.sourceforge.net/src/org/freeshell/zs/gmailassistant/MailLabel.java.html

0

精彩评论

暂无评论...
验证码 换一张
取 消