码迷,mamicode.com
首页 > 其他好文 > 详细

mantis更改备忘

时间:2018-06-26 18:04:43      阅读:222      评论:0      收藏:0      [点我收藏+]

标签:receive   def   bounce   发送   SM   gnu   path   mon   encrypt   

1.修改文件config_defaults_inc.php

$g_send_reset_password  = OFF;  #OFF不发送重置密码邮件,密码重置为空。
$g_show_realname = ON;            ##显示用户名字
$g_allow_signup                   = OFF;  ##关闭注册  

2.邮件配置修改:config/config_inc.php:

# --- Email Configuration ---
$g_phpMailer_method             = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host                    = ‘smtp.ym.163.com‘;     # used with PHPMAILER_METHOD_SMTP
$g_smtp_username                = ‘mon@test.cn‘; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password                = ‘Ystgv213d‘;            # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = ‘ssl‘;                      # Valid values are ‘‘ (no encryption), ‘ssl‘ or ‘tls‘
$g_smtp_port = 465;
$g_enable_email_notification = ON;
$g_webmaster_email      = ‘mon1@test.cn‘;
$g_from_email           = ‘mon@test.cn‘;        # the "From: " field in emails
$g_return_path_email    = ‘mon@test.cn‘;  # the return address for bounced mail
# $g_from_name                  = ‘Mantis Bug Tracker‘;
# $g_email_receive_own  = OFF;
# $g_email_send_using_cronjob = OFF;

mantis更改备忘

标签:receive   def   bounce   发送   SM   gnu   path   mon   encrypt   

原文地址:http://blog.51cto.com/28917/2132894

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!