SugarCRM code is limited to 500 characters. So it's not the amount what counts, but the length of the string. The database however is a textfield so it could be unlimited length. Change the following to select more IMAP-folders:
Changes in modules/Emails/templates/emailSettingsAccountDetails.tpl
Search for line: (around line 143)
HTML Code:
<input id='mailbox' value="" name='mailbox' size='30' maxlength='500'
Change the value to 8000:
HTML Code:
<input id='mailbox' value="" name='mailbox' size='30' maxlength='8000'
Bookmarks