", "、", $_POST["send_select"]);
$send_select = htmlspecialchars(stripcslashes($send_text));
$send_select_other = htmlspecialchars(stripcslashes($_POST["send_select_other"]));
$send_contact = htmlspecialchars(stripcslashes($_POST["send_contact"]));
$send_text = str_replace("\\", "¥", $_POST["send_text"]);
//メールヘッダを設定
$mailheader =
"From:info@s-princess.jp\nReturn-Path:info@s-princess.jp\nReply-To:info@s-princess.jp\nX-Mailer:PHP/".phpversion();
//メールで扱う言語を日本語に設定
mb_language("ja");
mb_internal_encoding("utf-8");
$mailaddress = "info@s-princess.jp";
$mailsbj = "【ご意見・違反報告】 投稿がありました。";
$mailbody = "対象の店舗名:{$send_name} \n" .
"内容:{$send_select} \n" .
"内容(その他):{$send_select_other} \n" .
"連絡先:{$send_contact} \n" .
"詳細: \n" .
"{$send_text} \n" .
"━━━━━━━━━━━━━━━\n" .
"[SP版 【Sプリワーク】 ご意見・違反報告フォームより]";
if (mb_send_mail($mailaddress, $mailsbj, $mailbody, $mailheader)) {
echo <<< SET