2006-11-30

いや~疲れた。メール関連は一区切りつけよう。

ちょっと、MODx と PHP は開発畑を通過してきていないオラにとってはレベルが高い。
とりあえず、メールは送れた、ということで詳細の修正は また今度。

しかし、運用前までには PHP.INI 内部として UTF8 なんだけど、
[mbstring]
mbstring.language = Japanese
mbstring.internal_encoding = UTF-8

そりを ISO-2022-JP でエンコードが出来ない。
もっと調べたらわかるんだろうけど、メールの構造理解とPHPの理解、MySQLがらみを同時にするだけでもアップアップ。

$headers = mb_encode_mimeheader("From: $from_email"."\r\n");
$subject = mb_encode_mimeheader( base64_encode($subject."$from 様より"));
$body = mb_convert_encoding( "お名前: $from 様\nEメール: $from_email\nお問い合わせ内容:\n\n".$message,"ISO-2022-JP");

だめでしたね。またレベルが上がってから考えようかな。


MODx-日本語フォーラムで皆さんのご協力によって、話が大きく展開してます

感謝! Zeroさん、Custerさん

5 件のコメント:

ssmxgo さんのコメント...

ZeRoさん、そ~いえば教えてほしいことがあるんですけど.、見てらっしゃいますか..
MODx で https を選択するラジオボタンってどこにありましたっけ??

インストールの時に見たような??

匿名 さんのコメント...

MODxの設定の最初の画面かと・・

ssmxgo さんのコメント...

<(_ _)> うへぇ~。恥ずかしいことお聞きしました(汗

匿名 さんのコメント...

Items previously named include the Teletubbies,
farmacia on line and the Heathrow Express train.
Though the new look is modern, we were definitely impressed by the software's touch responsiveness and speed. If insurance companies pay for men's farmacia on line, why not take advantage of Samsung's new movie and TV store / player.

my homepage - Waarde.wi.be

匿名 さんのコメント...

Yes, this is not the best time. What wasn't helpful, however was the lack of a dedicated mute switch on the recent Incredible S and Desire S, it is a huge pain.

my web blog http://jpkc.shlzhj.net:90/