Wishlist 0 ¥0.00

MantisBT如何发送邮件?

mantisbt邮件配置

  1. 操作请注意,MantisBT不支持免费版QQ邮箱,但支持企业版QQ邮箱,下面以163邮箱为例进行配置说明;

  2. 远程登录到服务器,在/data/wwwroot/default/mantisbt目录下找到config_defaults_inc.php配置文件;

  3. 将该文件下载到本地,找到以下参数并修改为如下所示(其中第2,3项修改为用户自己的邮箱地址和密码):

     $g_enable_email_notification = ON ;  
     $g_phpMailer_method = PHPMAILER_METHOD_SMTP - SMTP; 
     $g_smtp_host = smtp.163.com;  
     $g_smtp_username = yourname@163.com;  
     $g_smtp_password = yourpassword;  
     $g_smtp_connection_mode = ssl  
     $g_smtp_port = 465;  
     $g_webmaster_email = This email address is being protected from spambots. You need JavaScript enabled to view it.';  
     $g_from_email = This email address is being protected from spambots. You need JavaScript enabled to view it.';  
     $g_return_path_email = This email address is being protected from spambots. You need JavaScript enabled to view it.';      
    


4. 将改配置文件重新上传,并修改权限:chown -R apache: /data/wwwroot
5. 重启httpd服务,systemctl restart httpd
6. 进入MantisBT,通过注册账号或修改密码的方式验证邮件是否可以发送

 
 

 

 

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.