
"; $content='
お客様からのお見積もりです。
'; $content.='
名前:'.$_POST['Field0'].$_POST['Field1'].'
'; $content.='
郵便番号:'.$_POST['Field2'].'
'; $content.='
住所:'.$_POST['Field3'].'
'; $content.='
Eメール:'.$_POST['Field4'].'
'; $content.='
電話番号:'.$_POST['Field5'].'-'.$_POST['Field5-1'] .'-'.$_POST['Field5-2'].'
'; $content.=nl2br($_POST['Field9']);//because now many user read mail by IMAP . //end $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=shift_jis' . "\r\n"; $headers .= "From: ".trim($_POST['Field4'])."\r\n"; // $headers .= "Cc: ".trim($_POST['Field4'])."\r\n"; $headers .= "Bcc:okada@5959mammy.com\r\n"; $headers .= "\r\n"."\r\n";//close the header aerea. //END mail("takuya@dainan.e-arc.jp",EncodeHeader("お問合せ 大南工業"),$content,$headers); $mail_has_been_send = "TRUE"; $_POST=array(); }else{ $bad_email_address = "TRUE"; } } ?>