标签: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;
标签:receive def bounce 发送 SM gnu path mon encrypt
原文地址:http://blog.51cto.com/28917/2132894