Announcement

Collapse
No announcement yet.

Unable to manage email with Malformed UTF-8 characters

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to manage email with Malformed UTF-8 characters


    Bonjour,
    I received an email which is impossible to read and even delete (but moving to trash os ok) , If I try I get the error message:

    Erreur 500
    Malformed UTF-8 characters, possibly incorrectly encoded​

    Thanks for any feedbacks/ideas/... how to remove this kind of emails.
    ---
    meilleures salutations,
    Christophe




  • #2
    Hi, Salut
    EspoCRM open source CRM application. Contribute to espocrm/espocrm development by creating an account on GitHub.


    take one job.. and modify,

    add just (choose $entityType > maybe email .. ) and ID :

    $entityManager->getRDBRepository($entityType)->deleteFromDb($id);

    then run Jobs

    php command.php run-job JobName


    Comment


    • #3
      Thanks for your help :-)

      Comment


      • #4
        What collation is set for the `body` and `subject` columns in the `email` table? It should be utf8mb4_unicode_ci.

        Comment


        • #5
          Could you provide such an email so we try to reproduce?

          Comment


          • #6
            A quick workaround solution I found in dealing with a similar situation recently (the first and only time I have seen this in 4+ years) was to use the Formula Sandbox as admin. I could read the email, but got the same error when trying to move to trash or delete. Using the sandbox, I selected "Email" as target type, and chose the specific problem email as target. Then entered "deleted = 1" in the formula sandbox. That got rid of the problem email.

            Comment


            • #7
              Attached the email (eml format)
              Attached Files

              Comment

              Working...
              X