yehrussell 寫:posting.php

下載http://herb-tw.com/test/posting.rar
includes/functions_post.php

下載http://herb-tw.com/test/functions_post.rar
templates/Macinscott2/posting_body.tpl

下載http://herb-tw.com/test/posting_body.rar
language/lang_chinese_traditional_taiwan/email/topic_notify.tpl

下載http://herb-tw.com/test/topic_notify.rar
捕手老師 感恩
檢視您貼的檔案, 發現一個小問題, 但是不見得會影響 email 通知的功能.
主要是, 您之前所使用的語系編碼為 big5,
而您有做過 '多國語言' 以及 '許功蓋' 的問題的修正;
如今, 您既然已經更改語系編碼為 utf-8,
那麼上述的修正, 通通可以還原.
以下的修改, 提供您參考:
#
#-----[ OPEN ]-----
# ps. posting.php 請比照處理
includes/functions_post.php
#
#-----[ FIND ]-----
# ps. 大約可以找到 8 個
代碼: 選擇全部
dohtmlspecialchars
# ps. 通通取代成
#-----[ REPLACE WITH ]-----
#
#
#-----[ SAVE & CLOSE ]-----
#
另外, 許功蓋修正部份, 您可能是參考我寫的方法,
在相關欄位後面, 加上一個空字元;
這部份, 同樣也建議您, 可以還原回去原始碼.
--
回到主題:
建議您:
1. 還原 php.ini 的原始 [mail function] 設定, 重新啟動 AppServ
代碼: 選擇全部
[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
;sendmail_from = me@example.com
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
2. 控制台 -> 一般管理 -> 基本組態
關於 SMPT 的設定, 如下:
系統管理員電子郵件信箱 :改用您的 hinet 信箱(如:帳號@msa.hinet.net)
使用 SMTP 伺服器傳送電子郵件:是
SMTP 伺服器網域名稱 :msa.hinet.net
SMTP 使用者帳號:(空白)
SMTP 使用者密碼:(空白)