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:
commit
721a599ed3
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user