mantis更改备忘
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mantis更改备忘相关的知识,希望对你有一定的参考价值。
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 = ‘[email protected]‘; # 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 = ‘[email protected]‘;
$g_from_email = ‘[email protected]‘; # the "From: " field in emails
$g_return_path_email = ‘[email protected]‘; # the return address for bounced mail
# $g_from_name = ‘Mantis Bug Tracker‘;
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = OFF;
以上是关于mantis更改备忘的主要内容,如果未能解决你的问题,请参考以下文章