Mantis 技巧整理

Mantis 1.2.x 其實已經有 due_date 這個欄位, 所以只要在 config_inc.php 內增加以下兩行就可以出現

:
        # --- due date --------------------
        $g_due_date_update_threshold = REPORTER;
        $g_due_date_view_threshold = VIEWER;
        $g_path = 'http://xxx.xxx.com/mantis/';
:
$g_path 要設定成 Mantis 實際的網址
這樣信件內容所列出來的項目連結才會正確

再來就可以配合 Reminder Plugin 看看如何通知提醒即將到期的問題

只要在 config_inc.php 內增加以下就可以指定使用 SMTP 透過 Mail Server 寄信

:
# --- email variables -------------
        $g_phpMailer_method = 2; # SMTP
        $g_smtp_host = '192.168.0.223';
        $g_smtp_port = 25;
        $g_smtp_username = 'mantis';
        $g_smtp_password = 'mantis_password';
        $g_administrator_email  = '[email protected]';
        $g_webmaster_email      = '[email protected]';
        # the "From: " field in emails
        $g_from_email           = '[email protected]';
        # the return address for bounced mail
        $g_return_path_email    = '[email protected]';
:
  • tech/mantistips.txt
  • 上一次變更: 2016/12/10 08:58
  • jonathan