1
0
mirror of https://github.com/freescout-helpdesk/freescout.git synced 2024-11-25 03:43:33 +01:00

Merge branch 'master' of github.com:freescout-helpdesk/freescout

This commit is contained in:
FreeScout 2020-09-17 05:09:52 -07:00
commit 721a599ed3

View File

@ -416,6 +416,11 @@ class FetchEmails extends Command
$subject = $message->getSubject();
// Convert subject encoding
if (preg_match('/=\?[a-z\d-]+\?[BQ]\?.*\?=/i', $subject)) {
$subject = iconv_mime_decode($subject, ICONV_MIME_DECODE_CONTINUE_ON_ERROR, 'UTF-8');
}
$to = $this->formatEmailList($message->getTo());
//$to = $mailbox->removeMailboxEmailsFromList($to);