第 1 頁 (共 1 頁)
[問題]註冊來信無主旨?(已解決)
發表於 : 2006-02-13 09:12
由 oscerropper
請問有人知道這篇問題原因嘛?
我搜索了好久網址不是找不到就是沒有相關解決問題
除了改emailer.php:(這方法我試過~在2.0.19無效)
http://phpbb-tw.net/phpbb/viewtopic.php?t=21322
該主題內提供的網址掛掉
http://phpbb-tw.net/phpbb/viewtopic.php?t=7107
有沒有徹底解決的方法

Re: [問題]註冊來信無主旨?
發表於 : 2006-02-13 16:31
由 k.h.chen
發表於 : 2006-02-13 17:22
由 oscerropper
k.h.chen
兩個檔案並沒有問題~何況我用的是 2.0.19 ~也已經更新了
發表於 : 2006-02-14 16:58
由 oscerropper
請問各位還有方法解決嘛

發表於 : 2006-02-15 07:48
由 oscerropper

相關的 *.tpl 檔都有 subject 開頭一樣沒有效 ...

發表於 : 2006-02-26 11:14
由 oscerropper
http://phpbb-tw.net/phpbb/viewtopic.php?t=39710
參考:brentsu
代碼: 選擇全部
#
#-----[OPEN]----------
#
includes/emailer.php
#
#-----[ FIND 尋找]---------------------------------------------
#
$result = smtpmail($to, $this->subject, $this->msg, $this->extra_headers);
#
#-----[ BEFORE, ADD 之前,新增]---------------------------------------------
#
$this->subject = "=?UTF-8?B?" . base64_encode($this->subject) . "?=";
#
#-----[ FIND 尋找]---------------------------------------------
#
$to = ($to == '') ? (($board_config['sendmail_fix']) ? ' ' : 'Undisclosed-recipients:;') : $to;
$result = @mail($to, $this->subject, preg_replace("#(?<! )
#s", "
", $this->msg), $this->extra_headers);
#
#-----[ MODIFY, ADD 修改, ?#91;上]---------------------------------------------
#
$to = ($to == '') ? (($board_config['sendmail_fix']) ? ' ' : 'Undisclosed-recipients:;') : $to;
$this->subject = iconv('UTF-8','Big5',$this->subject);
$result = @mail($to, $this->subject, preg_replace("#(?<! )
#s", "
", $this->msg), $this->extra_headers);
#
#-----[ SAVE/CLOSE ALL FILES 儲存/關閉所有檔案 ]-------------------
#
# EoM 修正結束
#
發表於 : 2007-01-30 02:52
由 葉綠素
此方式已可排除
環境:phpBB 2.0.22