tags:

views:

104

answers:

3

I need to select the 'Sent' and 'Spam' folders in Gmail, but I have an account that does not work. I've found out later that the folders are in non-English language, but it doesn't seem to represent the unicode characters of those language either. Does anybody know how to find out which one is the 'Sent' or 'Spam' folder of a Gmail account?

A: 
see the link below for help:
    http://search.cpan.org/~pmakholm/Encode-IMAPUTF7-1.05/lib/Encode/IMAPUTF7.pm
    http://www.gitorious.com/trojita/trojita/blobs/fcf860f5c6b47004f3641174c62c5f6f9ec5170e/IMAP4UTF7.py
Avadhesh
+2  A: 

For searching in Spam folfer (mo matter the language of your account) write "is:spam" (without the quotes) in the search box. For searching Sent e-mails, just write "is:sent". You have more conbinations, such as "is:unread" (my favourite), "label:work", etc.

Hope it hepls.

greuze
+1  A: 

You should use XLIST command, Google and Apple developed a special IMAP command XLIST to address this issue.

IMAP XLIST command returns a list of folders and their well-know flags (\Inbox, \Drafts, \Trash, \Sent, \Spam).

Localized gmail imap folders

Pawel Lesnikowski