255) { $valid_address = false; return $valid_address; exit; } // stop crafty people from using internal IP addresses if (($digit[0] == 192) || ($digit[0] == 10)) { $valid_address = false; return $valid_address; exit; } } } if (!ereg($space_check, $email)) { // trap for spaces in if ( eregi($valid_email_pattern, $email)) { // validate against valid email patterns $valid_address = true; } else { $valid_address = false; return $valid_address; exit; } } return $valid_address; } function EncodeHeader ($str, $position = 'text') { $x = 0; $charset='SJIS'; $le="\r\n"; switch (strtolower($position)) { case 'phrase': if (!preg_match('/[\200-\377]/', $str)) { // Can't use addslashes as we don't know what value has magic_quotes_sybase. $encoded = addcslashes($str, "\0..\37\177\\\""); if (($str == $encoded) && !preg_match('/[^A-Za-z0-9!#$%&\'*+\/=?^_`{|}~ -]/', $str)) return ($encoded); else return ("\"$encoded\""); } $x = preg_match_all('/[^\040\041\043-\133\135-\176]/', $str, $matches); break; case 'comment': $x = preg_match_all('/[()"]/', $str, $matches); // Fall-through case 'text': default: $x += preg_match_all('/[\000-\010\013\014\016-\037\177-\377]/', $str, $matches); break; } if ($x == 0) return ($str); $maxlen = 75 - 7 - strlen($charset); // Try to select the encoding which should produce the shortest output if (strlen($str)/3 < $x) { $encoding = 'B'; $encoded = base64_encode($str); $maxlen -= $maxlen % 4; $encoded = trim(chunk_split($encoded, $maxlen, "\n")); } else { $encoding = 'Q'; $encoded = EncodeQ($str, $position); $encoded = WrapText($encoded, $maxlen, true); $encoded = str_replace("=".$le, "\n", trim($encoded)); } $encoded = preg_replace('/^(.*)$/m', " =?".$charset."?$encoding?\\1?=", $encoded); $encoded = trim(str_replace("\n", $le, $encoded)); return $encoded; } ?> 大南工業 ダイナン お見積もり

お気軽にご質問ください
nice! email address is : ".$_POST['Field4']."
"; $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"; } } ?>
お客様から私共の会社に関わる全ての人が防水工事・塗装工事を通じて、幸せになることを第一に考え、安心して生活できるご提案をいたします。
お気軽に防水工事・塗装工事等、ご質問ご相談等、あればご連絡下さい。担当者からご返事させていただきます。
ご入力いただいた内容はお客様へのご返信のためだけに使用し、他には一切使用致しません。
  • - -
  • Eメールを確認してください。
    "; } ?> お客様の用件を承りました。
    "; echo "後ほど弊社よりご連絡させて頂きます。
    "; echo "ご返信メールの到着まで今しばらくお待ちください。"; } ?>