Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4227

Support Manager: Email imports don't work from Office 365

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      [BADCHARSET (US-ASCII)] The specified charset is not supported. {"code":1024,"message":"[BADCHARSET (US-ASCII)] The specified charset is not supported.","file":".../plugins/support_manager/vendors/php-imap/ImapMailbox.php","line":52}
      

      It seems the issue may be mb_list_encodings() which does not include US-ASCII

      As a temporary fix, users can make a couple edits to plugins/support_manager/vendors/php-imap/ImapMailbox.php and change line 17 from:

      	public function __construct($imapPath, $login, $password, $attachmentsDir = false, $serverEncoding = 'utf-8') {
      

      To

      	public function __construct($imapPath, $login, $password, $attachmentsDir = false, $serverEncoding = 'us-ascii') {
      

      And line 507 from:

      	public function decodeMimeStr($string, $charset = 'UTF-8') {
      

      To

      	public function decodeMimeStr($string, $charset = 'US-ASCII') {
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: