Suitecrm: Encoding TO/FROM in Email Detailview 7.9 is wird/wrong

Created on 31 May 2017  路  3Comments  路  Source: salesagility/SuiteCRM


Issue


In the column TO the system strip the spec. charakters like 谩,媒,茅
-- e.g. orig: Lucia Bodn谩rov谩 --> striped: Lucia Bodnarova
or
add the "" around name if didn't sync/find the system email address
utf4
In detailview of email is the name FRO/TO showing right :)
utf3

in the column FROM looks like:
utf2
utf1

Steps to Reproduce


  1. Visit email module :)

Your Environment

  • SuiteCRM Version used: Suite 7.9
  • Browser name and version: Chrome 59.x 64bit
  • Environment name and version MySQL 5.6, PHP 7.0.16
  • Operating System and version: Win 10 Home
Important Fix Proposed Bug

All 3 comments

Reduced the priority as it doesn't stop functionality - however it is noted that this was also an issue on previous versions.

Solution:

  1. Open modules/Emails/include/ListView/ListViewDataEmails.php
  2. Find $ret = $emailHeader['from']; //line 504
  3. Replace with
    $ret = html_entity_decode($inboundEmail->handleMimeHeaderDecode($emailHeader['from']));

Tested with ver.7.9.9 and works as expected.

@likhobory your code is working 馃
@PedroErnst could you create for it pull request?

Was this page helpful?
0 / 5 - 0 ratings