Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I'm using the stock e-mail app of Android 4.1 (Motorola razr i), and when I send a mail from the phone, the mail app afterwards shows the sent mail in the "Sent" folder, but it seems that folder is not synchronized via IMAP. Thus, I cannot see those mails from my PC e-mail client.

Is there any configuration for this, or will I have to use K9 or some other app?

share|improve this question

1 Answer 1

Unfortunately, the Stock Android Email app has the IMAP folder names hard-coded in the application, they cannot be changed by the user. The app expects the folders to have the following names:

  • Inbox
  • Outbox
  • Drafts
  • Trash
  • Sent
  • Junk

If your IMAP server uses different names, they are not properly synchronized with the Email app. There are two solutions to this:

  1. Use different Email app
  2. Get Android source code, modify names in Email application, rebuild Email application and replace original Email application on your device with the modified one

However, the second solution (of course) requires a rooted device and basic knowledge of how to build an Android application. But, I can say, I tried it and it works. The file where the names are stored is <Android-source-code-root>/packages/apps/Email/res/values/strings.xml. See the following excerpt:

<!-- Do Not Translate.  This is the name of the "inbox" folder, on the server. -->
<string name="mailbox_name_server_inbox" translatable="false">Inbox</string>
<!-- Do Not Translate.  This is the name of the "outbox" folder, on the server. -->
<string name="mailbox_name_server_outbox" translatable="false">Outbox</string>
<!-- Do Not Translate.  This is the name of the "drafts" folder, on the server. -->
<string name="mailbox_name_server_drafts" translatable="false">Drafts</string>
<!-- Do Not Translate.  This is the name of the "trash" folder, on the server. -->
<string name="mailbox_name_server_trash" translatable="false">Trash</string>
<!-- Do Not Translate.  This is the name of the "sent" folder, on the server. -->
<string name="mailbox_name_server_sent" translatable="false">Sent</string>
<!-- Do Not Translate.  This is the name of the "junk" folder, on the server. -->
<string name="mailbox_name_server_junk" translatable="false">Junk</string>

I have no idea why Google decided to make the names unchangeable withing the app. Probably they want to force people to use Gmail (I was told, the folder names work with Gmail).

If anybody with programming skills is motivated, I would love to see a patched version of the Email app, where the names of the folders can be adjusted in some configuration dialog. Should not be a huge thing to implement, I just did not have the time for it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.