Subject: Re: [imapext] [IMAP] International mailbox names

From: Jayantheesh S B <[email-masked]>
Date: Wed, 12 Nov 2014 22:22:49 +0000

Dear All,

Please share your response on this below query.

Regards,
Jay

From: Jayantheesh S B
Sent: Tuesday, November 11, 2014 6:21 PM
To: [email-masked]'
Cc: Jayantheesh S B
Subject: [IMAP] International mailbox names

Dear All,

As per RFC 3501, for international mailbox names, MODIFIED UTF 7 CHARSET format should be used.

we see Yahoo IMAP server is not honoring the request with this charset, whereas other ISP like, Gmail, AOL, Isode supports it.

We are not sure how many providers available in the market really honoring this format.

Is there any way email client can know, all the charset supported by the IMAP server?  So, that client can ignore the particular charset format with that server.

Please find the log snippet below.

Yahoo:
---------
>>> 114 CAPABILITY
<<< #null# ["CAPABILITY", "IMAP4rev1", "ID", "NAMESPACE", "X-ID-ACLID", "UIDPLUS", "LITERAL+", "CHILDREN", "XAPPLEPUSHSERVICE", "XYMHIGHESTMODSEQ", "AUTH=PLAIN", "AUTH=LOGIN", "AUTH=OAUTH2", "AUTH=XYMCOOKIE", "AUTH=XYMECOOKIE", "AUTH=XYMCOOKIEB64", "AUTH=XYMPKI"]

>>> 77 STATUS "&C4cLqAvNC6QLvwuvC74-" (UIDVALIDITY)
<<< #77# ["NO", ["CANNOT"], "STATUS Mailbox name(s) cannot be encoded using the specified charset"]

>>> 79 CREATE "&C4cLqAvNC6QLvwuvC74-"
<<< #79# ["NO", ["CANNOT"], "CREATE Mailbox name(s) cannot be encoded using the specified charset"]

action=create newMailboxName=இந்தியா result=failure reason=#79# ["NO", ["CANNOT"], "CREATE Mailbox name(s) cannot be encoded using the specified charset"]

Gmail:
---------

>>> 74 CAPABILITY
<<< #null# ["CAPABILITY", "IMAP4rev1", "UNSELECT", "IDLE", "NAMESPACE", "QUOTA", "ID", "XLIST",  "CHILDREN", "X-GM-EXT-1", "UIDPLUS",  "COMPRESS=DEFLATE", "ENABLE", "MOVE",  "CONDSTORE", "ESEARCH", "UTF8=ACCEPT"]

>>> 49 STATUS "&C4cLqAvNC6QLvwuvC74-" (UIDVALIDITY)
<<< #49# ["NO", ["NONEXISTENT"], "Invalid folder: &C4cLqAvNC6QLvwuvC74- (Failure)"]

>>> 51 CREATE "&C4cLqAvNC6QLvwuvC74-"
<<< #51# ["OK", "Success"]

action=create newMailboxName=இந்தியா result=success

Regards,
Jay