login about faq

I am a problem when the user changes the language of your Gmail account. The mailboxes of Gmail also change name. example:

[Gmail] Trash (en) -> [Gmail] Lixo (pt-br)

How can I treat it? I need to keep the reference in English. The log says that the mailbox does not exist after the exchange.

Thank you.

asked Jun 08 '13 at 11:08

Rodrigo%20Junqueira's gravatar image

Rodrigo Junqueira
11236

edited Jun 08 '13 at 11:17


Rodrigo,

Thanks! Better support for the GMail extensions, such as XLIST, are scheduled for the release following v9.4.1.

link

answered Jun 10 '13 at 10:56

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Guys, I found the answer! Just run the command XLIST and give a parser. There is information on the type of mailbox regardless of the selected language in Gmail.

iOS: [imap SendRawCommand: @"XLIST "" *"];

 ListMailboxes:
name: INBOX
name: Personal
name: Receipts
name: Travel
name: Work
name: [Gmail]
name: [Gmail]/All Mail
name: [Gmail]/Drafts
name: [Gmail]/Important
name: [Gmail]/Sent Mail
name: [Gmail]/Spam
name: [Gmail]/Starred
name: [Gmail]/Trash

raw command: 
[* XLIST (\HasNoChildren \Inbox) "/" "Inbox"
 * XLIST (\HasNoChildren) "/" "Personal"
 * XLIST (\HasNoChildren) "/" "Receipts"
 * XLIST (\HasNoChildren) "/" "Travel"
 * XLIST (\HasNoChildren) "/" "Work"
 * XLIST (\Noselect \HasChildren) "/" "[Gmail]"
 * XLIST (\HasChildren \HasNoChildren \AllMail) "/" "[Gmail]/All Mail"
 * XLIST (\HasChildren \HasNoChildren \Drafts) "/" "[Gmail]/Drafts"
 * XLIST (\HasChildren \HasNoChildren \Important) "/" "[Gmail]/Important"
 * XLIST (\HasChildren \HasNoChildren \Sent) "/" "[Gmail]/Sent Mail"
 * XLIST (\HasNoChildren \Spam) "/" "[Gmail]/Spam"
 * XLIST (\HasChildren \HasNoChildren \Starred) "/" "[Gmail]/Starred"
 * XLIST (\HasChildren \HasNoChildren \Trash) "/" "[Gmail]/Trash"
 aaad OK Success

]

link

answered Jun 08 '13 at 16:42

Rodrigo%20Junqueira's gravatar image

Rodrigo Junqueira
11236

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×28
×14
×6
×3
×2

Asked: Jun 08 '13 at 11:08

Seen: 1,138 times

Last updated: Jun 10 '13 at 10:56

powered by OSQA