主要是使用 Mantis 的 EmailReporting plugin 模組來達成..
: # Mantis EMail Report */5 * * * * root php /var/www/html/mantis/plugins/EmailReporting/scripts/bug_report_mail.php :
[root@server2 bin]# ./pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.7 stable Config 1.10.11 stable Console_Getopt 1.2.3 stable HTML_Template_IT 1.3.0 stable MDB2 2.4.1 stable MIME_Type 1.2.0 stable PEAR 1.9.1 stable PEAR_Frontend_Web 0.7.4 beta Structures_Graph 1.0.3 stable [root@server2 bin]# ./pear install Mail_mimeDecode Net_POP3 Net_IMAP Net_Socket [root@server2 bin]# ./pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.7 stable Config 1.10.11 stable Console_Getopt 1.2.3 stable HTML_Template_IT 1.3.0 stable MDB2 2.4.1 stable MIME_Type 1.2.0 stable Mail_Mime 1.8.0 stable Mail_mimeDecode 1.5.4 stable Net_IMAP 1.1.0 stable Net_POP3 1.3.7 stable Net_Socket 1.0.9 stable PEAR 1.9.1 stable PEAR_Frontend_Web 0.7.4 beta Structures_Graph 1.0.3 stable