Author |
|
basstscho Newbie
Joined: 16 November 2017
Online Status: Offline Posts: 2
|
Posted: 16 November 2017 at 11:11am | IP Logged
|
|
|
Dear all,
I'm running one installation with a hmailserver and Outlook 2013 as an IMAP-Client. Now i want to add webmail access to the accounts.
I tested some webmail-clients and ended up finaly at your WebMail Lite. The slim layout with all the neeed features is awesome!
The Installation is in german. Unfortunately, Outlook creates the default-IMAP-folders in german. For example: "Gelöschte Objekte" for Trash. So I had to install the plugin "Change-Default-Folders" and webmail started to detect the Outlook-Made Folders - perfect!
There is only one problem: When connecting to a freshly made mailbox by webmail (before Outlook) it creates not readable folders (the ones with the special-characters ö & ü - Trash & Drafts). The Sent-Folder and Junk-Folder is created perfectly.
While looking in hmail-Account the folders are created, but they show no name. Outlook creates them once more (in this case also readable from hmail) after the first login.
Code:
$aFolderMap = array(
EFolderType::Inbox => 'INBOX',
EFolderType::Trash => array ("Gelöschte Elemente",'Trash'),
EFolderType::Sent => array ('Gesendete Elemente','Sent'),
EFolderType::Drafts => array ('Entwürfe','Drafts'),
EFolderType::Spam => array ('Junk-E-Mail','Spam','Junk')
);
|
|
|
So it looks like, that there is somewhere in your code for creating the folders an issue with special-charcters. I don't think that it comes from the file-format of the configuration-file (above), because reading runs perfectly.
Do you have an idea how to fix that?
Thank you and best regards,
Johannes
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 November 2017 at 3:01am | IP Logged
|
|
|
Hello,
I'll check with the developers and see if anything can be done about it.
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 17 November 2017 at 4:25am | IP Logged
|
|
|
In libraries/afterlogic/common/managers/mail/manager.php file, replace line ~318:
Code:
$this->createFolderByFullName($oAccount, $sFolderFullName); |
|
|
with:
Code:
$sNameToCreate = \MailSo\Base\Utils::ConvertEncoding($sFolderFullName,
\MailSo\Base\Enumerations\Charset::UTF_8,
\MailSo\Base\Enumerations\Charset::UTF_7_IMAP);
$this->createFolderByFullName($oAccount, $sNameToCreate); |
|
|
--
Regards,
Igor, Afterlogic Support
|
Back to Top |
|
|
basstscho Newbie
Joined: 16 November 2017
Online Status: Offline Posts: 2
|
Posted: 17 November 2017 at 11:44am | IP Logged
|
|
|
Hello Igor,
thank you for this quick respond. The Code works great!
Best regards,
Johannes
|
Back to Top |
|
|