mb_send_mail()で送信メールが文字化けする場合
mail()では internal_encodingでメール送信しますので、通常、文字コードを変換してから送信しないと文字化けしてしまいます。
mb_send_mail()はその点、自動的に文字コードを変換してくれるのですが、それでも文字化けする場合があります。その際は、
mb_internal_encoding(“utf-8”);
mb_language(“japanese”);
の様に文字コードを指定すると上手く行く場合があります。
【PHP 】
コメントを書く
Warning: Undefined array key 0 in /home/millionwaves/millionwaves.com/public_html/wp-content/plugins/mwp/mwp_related_posts.php on line 30
Warning: Attempt to read property "term_id" on null in /home/millionwaves/millionwaves.com/public_html/wp-content/plugins/mwp/mwp_related_posts.php on line 30
Warning: Undefined variable $excludeclause in /home/millionwaves/millionwaves.com/public_html/wp-content/plugins/mwp/mwp_related_posts.php on line 43
Warning: Undefined variable $args in /home/millionwaves/millionwaves.com/public_html/wp-content/plugins/mwp/mwp_related_posts.php on line 23
Warning: Undefined variable $excludeclause in /home/millionwaves/millionwaves.com/public_html/wp-content/plugins/mwp/mwp_related_posts.php on line 43