Reference
RFC日本語版リストhttp://www5d.biglobe.ne.jp/~stssk/rfcjlist.html
zcompile .zshrc
$mail_encoding = 'JIS';
$local_encoding = 'EUC-JP';
mb_language('Japanese');
mb_convert_variables($mail_encoding,$local_encoding,$name);
mb_convert_variables($mail_encoding,$local_encoding,$mail);
...
$from = mb_encode_mimeheader($name,$mail_encoding).' <'.$mail.'>';
$header = "From: $from\n";
$header .= "Cc: $cc\n";
$header .= "Bcc: $bcc\n";
mb_send_mail($to,$title,$contents,$header);
<body onload="setInterval('Behaviour.apply();',500">
...
</body>
var nameTmp = '';
var mailTmp = '';
function isChangeForm(){
var ret = false;
if (nameTmp != $F('name') || mailTmp != $F('mail')){
nameTmp = $F('name');
mailTmp = $F('mail');
ret = true;
}
return ret;
}
function updateForm(){
if (isChangeForm()){
Behaviour.apply();
}
return;
}
<body onload="setInterval('updateForm();',500">
...
</body>