`

mantis邮件配置

    博客分类:
  • php
阅读更多
以下内容可以在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';       #邮箱的密码


邮件系统的配置建议用smtp方式。一般公司都有自己的邮件服务器,让管理员给你开一个mantis的专用信箱。
注意:还需要配置一个地方,在C:\xampp\apache\conf目录下在找到httpd.conf,打开后搜索到listen,把Listen 80修改为listen IP:80,IP就是你服务器的地址。还有修改php.ini,把SMTP = localhost修改为SMTP = IP,IP为你服务器IP
这样修改的好处是邮件发送的时候是直接以IP地址发送链接的,而不是以localhost发送的。
分享到:
评论

相关推荐

    mantis 邮件配置

    MantisBT is a free popular web-based bugtracking system (feature list).... MantisBT has been installed on Windows, Linux, Mac OS, OS/2, and others. Almost any web browser should be able to ...

    Mantis配置注意事项

    Mantis配置注意事项

    mantis简单配置方法

    mantis的简单配置方法,配置环境apache+php5+mysql

    mantis安装配置文档_mantis操作使用相关文档

    mantis安装配置文档_mantis操作使用相关文档

    mantis安装配置心得

    mantis安装配置心得 Mantis是一个基于PHP技术的轻量级的缺陷跟踪系统,是以Web操作的形式提供项目管理及缺陷跟踪服务,足以满足中小型项目的管理及跟踪。更重要的是其开源,不需要负担任何费用。

    mantis安装配置.txt

    mantis安装配置.txt mantis安装配置.txt mantis安装配置.txt

    Mantis安装配置

    完整Mantis 测试库配置,包括配置文档和安装所需要的软件,可根据里面所有的配置文档来配置搭建Mantis测试库。注:jpgraph 需要下载,下载地址在“网址”文档。

    TestLink及Mantis环境配置手册

    TestLink及Mantis环境配置手册,非常详细的配置说明!

    Mantis平台配置手册

    完整的Mantis平台配置手册,包含配置各过程相关截图。

    Mantis安装配置及使用教程.pdf

    Mantis安装配置及使用教程Mantis安装配置及使用教程Mantis安装配置及使用教程

    mantis安装及配置

    mantis的安装及配置pdf,mantis的安装及配置pdf,mantis的安装及配置pdf,mantis的安装及配置pdf,mantis的安装及配置pdf,

    mantis配置详解

    mantis配置详解 MantisBT全称MantisBugTracker,我们可以见名知意。作为一套使用PHP编写的开源BUG跟踪系统,mantis具有我们在开发测试中所需要的全部功能,使用B/S操作的方式,需要我们作出如下部署的支持: 1、 Web...

    mantis配置详细步骤-mantis

    资源名称: 需要大于10个字符 *关键字(Tag): 多个关键字请用空格分隔,最多填写5个。点击右侧Tag快速添加

    Mantis的IIS配置问题

    Mantis与IIS服务配置过程中所需要注意的问题

    mantis配置管理

    mantis配置管理mantis配置管理mantis配置管理mantis配置管理mantis配置管理

    Mantis配置备份

    mantis配置说明 。

    关于MANTIS的配置

    Mantis的设置是这样保存的:在config_defaults_inc.php中保存这Mantis的默认设置,用户自己的设置信息保存在 config_inc.php中,如果某个选项在config_inc.php中有设置,则系统使用config_inc.php中的设置,否则使用...

    用cas实现mantis单点登录和登出

    用cas实现mantis单点登录和登出,详细讲了mantis的程序修改用cas实现SSO,已经在实际中应用,非常有帮助

    缺陷跟踪管理系统Mantis的优化配置与设计

    缺陷跟踪管理系统Mantis的优化配置与设计

Global site tag (gtag.js) - Google Analytics