mantis邮件配置
以下内容可以在config_defaults_inc.php中找到。
建议把该内容拷到config_inc.php中.
############################## Mantis Email Settings############################## --- email variables -------------$g_administrator_email = 'xxxx@xxx.com'; #xxxx@xxx.com是要修改为相应的邮箱名称。$g_webmaster_email = 'xxxx@xxx.com'; #xxxx@xxx.com是要修改为相应的邮箱名称。# the 'From: ' field in emails$g_from_email = 'xxxx@xxx.com'; #xxxx@xxx.com是要修改为相应的邮箱名称。# the return address for bounced mail$g_return_path_email = 'xxxx@xxx.com'; #xxxx@xxx.com是要修改为相应的邮箱名称。# allow email notification# note that if this is disabled, sign-up and password reset messages will# not be sent.$g_enable_email_notification = ON;# select the method to mail by:# 0 - mail()# 1 - sendmail# 2 - SMTP$g_phpMailer_method = 2; #以smtp发送邮件# This option allows you to use a remote SMTP host. Must use the phpMailer scrīpt# Name of smtp host, needed for phpMailer, taken from php.ini$g_smtp_host = 'mail.xxx.com:25'; #邮件服务器的地址,后面加上端口号25# These options allow you to use SMTP Authentication when you use a remote# SMTP host with phpMailer. If smtp_username is not '' then the username# and password will be used when logging in to the SMTP server.$g_smtp_username = 'xxxxx'; #邮箱的用户名$g_smtp_password = 'xxxxx'; #邮箱的密码