Ticket #231871 Public [Closed]

v3.1.3 turns emails into chinees.

When sending e-mails from any place in the site, mails arrive as chinese. Deactivating the EventOn plugin restores normal functionality. It seems that Gmail can decode the mails correctly, but Outlook (on any platform) cannot.
Sending a test-email from Eventon management page is the easiest way to reconstruct.

BY: Dirk Gaudaen - Apr 7,2021 AT 6:10AM - 4 months ago
    • By: Artem Apr 7,2021 AT 12:21PM - Posted 4 months ago - #231919


      Test email from https://staging.tolerant-vzw.be/wp-admin/admin.php?page=eventon#evcal_013:

      Could you tell us more about how we can test this?

    • By: Ashan Perera Apr 7,2021 AT 4:29PM - Posted 4 months ago - #231952

      Hey mate, can you share some screenshots of whats happening?

    • By: Dirk Gaudaen Apr 8,2021 AT 12:39AM - Posted 4 months ago - #231992

      Here is already a screen shot of how it looks on an Android phone.

      I will try to do some extra tests of the same e-mail in 3.1.2 and 3.1.3 and see the differences in the mime content. Will keep you posted.

      Testing is only a matter of sending an e-mail. But as I wrote, it seems to depend on the mail server if the message can be processed or not. Gmail seems to display it correctly but on a mail server of my hosting provider, it does not.

      Will keep you posted.



    • By: infotainerdave Apr 8,2021 AT 12:47AM - Posted 4 months ago - #231999

      Please send us wp-admin access to your site as a private message for us to further assist your situation.

    • By: infotainerdave Apr 8,2021 AT 12:48AM - Posted 4 months ago - #232001

      also take a paragraph of the chinese characters and run it through a translator


      I have a feeling its not your email content converted into chinese

    • By: Dirk Gaudaen Apr 8,2021 AT 12:54AM - Posted 4 months ago - #232009

      Look at ticket 205497 for access info.

      I am sending you two files. E-mail in 3.1.2 and in 3.1.3.

      Main difference I see is that in 3.1.3, the content type has changed into UTF-16!

      Content-Type: text/html; charset=UTF-16

      Before it was UTF-8.

      Gmail, on the website, displays the message correctly, but using Outlook, it goes wrong. Even crashes. If content is processed as UTF-16 when it is UTF-8 could be the cause.

    • By: Dirk Gaudaen Apr 8,2021 AT 12:55AM - Posted 4 months ago - #232010
    • By: Dirk Gaudaen Apr 8,2021 AT 12:56AM - Posted 4 months ago - #232011

      Think I cannot add .eml attachments. How can I send those?

    • By: Dirk Gaudaen Apr 8,2021 AT 1:00AM - Posted 4 months ago - #232013


      At this link, you can find the two e-mails.

    • By: infotainerdave Apr 8,2021 AT 1:58AM - Posted 4 months ago - #232034

      we are aware of the issue and are working to fix it- sorry to say Stay tuned- shouldnt be long

    • By: Thomas Dubbis Apr 8,2021 AT 4:31AM - Posted 4 months ago - #232093

      Same here. All mails from WordPress are changing in chinese!

    • By: nicolaswhitham Apr 8,2021 AT 6:34AM - Posted 4 months ago - #232121

      They are actually garbage but if you change the encoding in your email client to UFT-8 you will be able to read them.

    • By: Thomas Dubbis Apr 8,2021 AT 9:40AM - Posted 4 months ago - #232152


      – UTF-8
      No, doesn’t work for me..

    • By: Helen Jack Apr 8,2021 AT 10:05AM - Posted 4 months ago - #232156

      We have the same issue – hoping for the patch fix very soon

    • By: Michael Holden Apr 8,2021 AT 11:49AM - Posted 4 months ago - #232168

      For anyone waiting for a fix, this MAY work for you, it may not, use it at your own risk!!!

      If you have access to change the files in your system, then in the plug-in folder, open the eventOn folder and then the includes folder.

      Edit the class-evo-helper.php file and amend line 17 so that it says this (just add // at the beginning of what is there)

      // add_filter( ‘wp_mail_charset’, array($this,’change_mail_charset’) );


      This has stopped our woocommerce install from sending all our customers order confirmations will all the Chinese characters, I don’t know what else it may break it EventOn so use with care.

    • By: Ashan Perera Apr 8,2021 AT 12:55PM - Posted 4 months ago - #232200

      Michael thank you for sharing this. Please try this code change. Comment out that line.

      We did add the UTF encoding as for certain languages UTF8 did not work. I think what we are going to do is allow customer to choose a UTF encoding to their liking via settings instead of setting it up as fixed value in here. We will send out an update to eventON as soon as these settings are developed. We sincerely apologize for this bug guys! We are humans just like you and humans make mistakes, and we are very glad we caught this quickly and we will get a proper fix out soon!



    • By: Thomas Dubbis Apr 8,2021 AT 1:00PM - Posted 4 months ago - #232211

      I don’t know if it is helpful for you, here were the WP mails (via SMTP and own mail server) as well as the mails from the contact form in Chinese. I don’t have WooCommerce.
      I switched back from UTF-16 to UTF-8 HERE.
      For me everything works fine again.

    • By: Ashan Perera Apr 8,2021 AT 1:38PM - Posted 4 months ago - #232239

      official eventon 3.1.4 is realsed with the fix!!

    • By: Dirk Gaudaen Apr 9,2021 AT 2:11AM - Posted 4 months ago - #232327

      3.1.4 works fine.

      I tested the new setting and tried to set UTF-16 as encoding. Outgoing mails were still in UTF-8, so not sure if it actually works already.

      Also, in my opinion, such a setting should only apply to mails being sent from the EventOn plugin and not by others. If all outgoing mail from any plugin would be affected, this could result in serious trouble.

      Thanks for fixing the bug.


    • By: infotainerdave Apr 9,2021 AT 2:49AM - Posted 4 months ago - #232344

      eventon doesn’t send any emails- what it does is tell wordpress to send a specific email.

      by default wordpress isn’t very good at sending emails so thats why smtp plugins are required to send transactional emails 

    • By: Ashan Perera Apr 12,2021 AT 7:00PM - Posted 4 months ago - #232861

      Yes this will be further improved in the upcoming updates. 

You must login to reply to this ticket


Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON