Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2021-06-18 16:33:43 +0300
committerAnna Larch <anna@nextcloud.com>2021-06-21 11:32:45 +0300
commit6fce9e02fbda4720f4c2e9c820194a63b9e4393f (patch)
treecd8b9ffb5147d4dbec58fe6b39502175211bb0f8 /lib/Service
parente0e7206fc0af89c4ce8f341f00c2bf6c1ef1ed28 (diff)
Add $ back to label creation process
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/MailManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/MailManager.php b/lib/Service/MailManager.php
index 238b87900..81e83e04b 100644
--- a/lib/Service/MailManager.php
+++ b/lib/Service/MailManager.php
@@ -623,7 +623,7 @@ class MailManager implements IMailManager {
if ($imapLabel === false) {
throw new ClientException('Error converting display name to UTF7-IMAP ', 0);
}
- $imapLabel = mb_strcut($imapLabel, 0, 64);
+ $imapLabel = '$' . strtolower(mb_strcut($imapLabel, 0, 63));
try {
return $this->getTagByImapLabel($imapLabel, $userId);