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.
Could you tell us more about how we can test this?
Hey mate, can you share some screenshots of whats happening?
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.
Please send us wp-admin access to your site as a private message for us to further assist your situation.
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
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.
Think I cannot add .eml attachments. How can I send those?
At this link, you can find the two e-mails.
we are aware of the issue and are working to fix it- sorry to say Stay tuned- shouldnt be long
Same here. All mails from WordPress are changing in chinese!
They are actually garbage but if you change the encoding in your email client to UFT-8 you will be able to read them.
No, doesn’t work for me..
We have the same issue – hoping for the patch fix very soon
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.
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!
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.
official eventon 3.1.4 is realsed with the fix!!
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.
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
Yes this will be further improved in the upcoming updates.