email template language issues

Vee
Nov 05, 2019 09:47 PM 1 Answers
Member Since Nov 2019
Subscribed Subscribe Not subscribe
Flag(0)
hi, I use the user verification plugin. My site is still developing and i found some issues. The email template that send to users, {site_name} and {site_description} that used in the template can't be read. I assume all of site parameters will have the same issue. My site name and description are in Thai language. Hope you can fix this soon https://imgur.com/a/avXrnZL
2 Subscribers
Submit Answer
Please login to submit answer.

1 Answers
Sort By:
Best Answer
0
PickPlugins
Nov 06, 2019
Flag(0)

Welcome to our forum.

I understand the issue, you should set email charset to UTF-8 or something else that supports by your language. please add following code to your them functions.php file and see whats happening. you can also try by other charset

add_filter( 'wp_mail_charset', 'change_mail_charset' );
function change_mail_charset( $charset ) {
  return 'UTF-8';
}

https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_mail_charset

Regards

Sign in to Reply
Replying as Submit

Please use https://imgur.com/upload to upload your screenshot and share url here.
You can't upload any files or attachment to our server directly for security reason, you can use 3rd party website and share file url here. here is the top file sharing website you can use.

Please login to see your tickets