![]() |
エディトリアルハウスは「自費出版」をサポートする専門会社です。「自費出版」を経験してみたい方、「自費出版」にご興味をお持ちの方、高品質と明朗で適正な出版費用が自慢のEditorial House オフィシャルサイトにお越しください。cleverOne.net は、エディトリアルハウスを応援しています。
2012年02月 8日(Wednesday) 02:53 JST
これは、私の備忘録で記しています。
SAKURA Internet の「さくらのレンタルサーバー」で、Geeklog 1.5.* を導入したら次の内容を点検し適宜修正する。
・Geeklogから送信されるメールの件名の文字化けや乱れを回避する。
対象ファイル:custom_mail_jp.php
件名の文字切れ対策
define('CUSTOM_MAIL_HEADER_LENGTH', 68);
↓
define('CUSTOM_MAIL_HEADER_LENGTH', 400);
件名の改行対策(件名の前後に「¥」とダブルクォーテーションが含まれた場合)
define('CUSTOM_MAIL_HEADER_LINEBREAK', "\r\n");
↓
define('CUSTOM_MAIL_HEADER_LINEBREAK', "\n");
264行目付近をコメントアウトする。
/*
if (version_compare(VERSION, '1.5.2') < 0) {
list($temp_to_comment, $temp_to_address) = CUSTOM_splitAddress($to);
$to = CUSTOM_formatEmailAddress($temp_to_comment, $temp_to_address);
list($temp_cc_comment, $temp_cc_address) = CUSTOM_splitAddress($cc);
$cc = CUSTOM_formatEmailAddress($temp_cc_comment, $temp_cc_address);
list($temp_from_comment, $temp_from_address) = CUSTOM_splitAddress($from);
$from = CUSTOM_formatEmailAddress($temp_from_comment, $temp_from_address);
$subject = CUSTOM_emailEscape($subject);
}
*/
※Geeklog 1.5.2 sr4 導入後に対策した内容
以上
情報元(Geeklog Wiki):http://wiki.geeklog.jp/index.php/CUSTOM_mail
この記事にはトラックバック・コメントがありません。
サイト管理者はコメントに関する責任を負いません。