差異處
這裏顯示兩個版本的差異處。
| 下次修改 | 前次修改 | ||
| tech:mantistips [2010/10/10 21:13] – 建立 jonathan | tech:mantistips [2016/12/10 08:58] (目前版本) – jonathan | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| + | ====== Mantis 技巧整理 ====== | ||
| + | ===== 出現 due_date (管制日期) 的設定 ===== | ||
| + | Mantis 1.2.x 其實已經有 due_date 這個欄位, | ||
| + | < | ||
| + | : | ||
| + | # --- due date -------------------- | ||
| + | $g_due_date_update_threshold = REPORTER; | ||
| + | $g_due_date_view_threshold = VIEWER; | ||
| + | $g_path = ' | ||
| + | : | ||
| + | </ | ||
| + | < | ||
| + | $g_path 要設定成 Mantis 實際的網址 \\ | ||
| + | 這樣信件內容所列出來的項目連結才會正確 | ||
| + | </ | ||
| + | 再來就可以配合 Reminder Plugin 看看如何通知提醒即將到期的問題 | ||
| + | * 參考網址 - http:// | ||
| + | |||
| + | ===== 設定寄信主機與信箱 ===== | ||
| + | |||
| + | 只要在 config_inc.php 內增加以下就可以指定使用 SMTP 透過 Mail Server 寄信 | ||
| + | < | ||
| + | : | ||
| + | # --- email variables ------------- | ||
| + | $g_phpMailer_method = 2; # SMTP | ||
| + | $g_smtp_host = ' | ||
| + | $g_smtp_port = 25; | ||
| + | $g_smtp_username = ' | ||
| + | $g_smtp_password = ' | ||
| + | $g_administrator_email | ||
| + | $g_webmaster_email | ||
| + | # the "From: " field in emails | ||
| + | $g_from_email | ||
| + | # the return address for bounced mail | ||
| + | $g_return_path_email | ||
| + | : | ||
| + | </ | ||
| + | |||
| + | {{tag> | ||