首部曲及二部曲為竹貓星球會員發表,
本人僅做部份整理後發表,
三部曲為本人實際經驗發表,
也為本站(BoooM)目前所使用中,
祝參考愉快!!
首步曲:
不曉得為甚麼phpBB Team竟然把郵件主旨封印起來了.. 如此一來電子郵件通知
很容易就被當成垃圾信, 先用下列的方法可以將其解除封印
1. 首先打開 /www/phpbb2/includes/functions_post.php
找
代碼: 選擇全部
$emailer->set_subject();//$lang['Topic_reply_notification']
[color=red]改成[/color]
$emailer->set_subject($lang['Topic_reply_notification']);
或是改成
代碼: 選擇全部
$emailer->set_subject($board_config['sitename'] . " - " . $lang['Topic_reply_notification']);
2. 接著打開 /www/phpbb2/includes/usercp_register.php
找
代碼: 選擇全部
$emailer->set_subject();//$lang['Reactivate']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['Reactivate']);
代碼: 選擇全部
$emailer->set_subject();//sprintf($lang['Welcome_subject'], $board_config['sitename'])
[color=#e90000]改成 [/color]
$emailer->set_subject(sprintf($lang['Welcome_subject'], $board_config['sitename']));
最後找
代碼: 選擇全部
$emailer->set_subject(); //$lang['New_account_subject']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['New_account_subject']);
找
代碼: 選擇全部
$emailer->set_subject();//$lang['Account_activated_subject']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['Account_activated_subject']);
4. 再打開 /www/phpbb2/includes/usercp_sendpasswd.php
找
代碼: 選擇全部
$emailer->set_subject();//$lang['New_password_activation']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['New_password_activation']);
找
代碼: 選擇全部
$emailer->set_subject(); //$lang['Notification_subject']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['Notification_subject']);
找
代碼: 選擇全部
$emailer->set_subject();//$lang['Group_added']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['Group_added']);
代碼: 選擇全部
$emailer->set_subject();//$lang['Group_request']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['Group_request']);
代碼: 選擇全部
$emailer->set_subject();//$lang['Group_approved']
[color=#e90000]改成[/color]
$emailer->set_subject($lang['Group_approved']);
二步曲:
於win2k下發送確認信及電子郵件通知群組
1.先找到 \www\phpbb2\includes\emailer.php on line 207
代碼: 選擇全部
include($phpbb_root_path . "includes/smtp.".$phpEx);
[color=#e90000]改成[/color]
include("c:/AppServ/www/phpbb2/includes/smtp.".$phpEx);
2.再找到 \www\php\php.ini on line 490~495
代碼: 選擇全部
[mail function]
; For Win32 only.
SMTP = localhost
; For Win32 only.
sendmail_from = yourname@localhost
[color=#e90000]改成[/color]
[mail function]
; For Win32 only.
SMTP = booom.d2g.com ; for Win32 only
; For Win32 only.
sendmail_from = kuloo@booom.d2g.com ; for Win32 only
最後設定ArGoSoft Mail Server
1.請先自行下載ArGoSoft Mail Server (Freeware)
2.直接安裝ArGoSoft Mail Server (Freeware)
3.功能介紹請自行參考該軟體網站
4.開始設定
a. 安裝完成後直接執行ArGoSoft Mail Server,
點選Options/General,設定如圖所示,
139.175.55.244是SeedNet的DNS,
booom.d2g.com則是我自己的網域
b. 點選Options/Local Domains,設定如圖所示,
Add自己的網域
c. 點選Options/Ports,設定如圖所示,原設值即可\r
d. 點選Options/Logging,設定如圖所示,原設值即可\r
e. 點選Options/SMTP Authentication,設定如圖所示,
將兩項勾選即可\r
f. 點選User Setup/User Propeties/General,
設定如圖所示,Add一個New User,
輸入自己的UserName & Password
g. 點選User Setup/User Propeties/Finger Information,
設定如圖所示,不需填寫
h. 回到基本組態,電子郵件部份,設定如圖所示,
SMTP選是,填入自己的網域,最後輸入自己
與f.項一樣的UserName & Password
恭喜您,若您一切過程確定都沒錯,
在Win下的最基本的郵件收送,應該就完成了,
若有錯誤,請自行再檢查一次,
若還是不行,請回想是否有安裝其他MOD,
而造成未知之衝突,請自行判斷,
因以上設定,皆以本站(BoooM)為例,
已確定可行,並已Run一週測試後發表,
歡迎共同討論,謝謝各位參考.
非常感謝竹貓星球各位會員的熱心指導.
註: booom.d2g.com 這個網址已於d2g收費通知後停用