多言語文字を含む、PHP でメールを送信しようとしています。サイト全体 (html ヘッダー、php ヘッダー) は、フォーム文字セットと同様に UTF8 に設定されています。
私が今持っているPHPコードは次のとおりです。
$to = "email@email.com";
$subject = "Subject";
$message = "Question is ".$question;
$from = "auto@from.com";
$headers = "From:" . $from . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-UTF-8' . "\r\n";
$sendmail = @mail($to,$subject,$message,$headers);
私はどこか間違っていると思いますか?
私は「?」を得ています たとえば、日本語の文字を含む文字。