Testlink发送邮件的两种配置方法
来源:互联网 发布:软件需求工程 编辑:程序博客网 时间:2024/05/01 18:06
第一种:修改config.inc.php中的[smtp],配置为默认本地发送,用hotmail用户做接收,调试成功!
// ----------------------------------------------------------------------------
/** [SMTP] */
// Developer Note:
// these config variable names has been choosed to maintain compatibility
// with code taken from Mantis.
//
// SMTP server Configuration ("localhost" is enough in the most cases)
$g_tl_admin_email = 'tl_admin@127.0.0.1';#按此配置即可
$g_from_email = 'testlink_system@127.0.0.1';#按此配置即可
$g_return_path_email = 'no_replay@127.0.0.1';#按此配置即可
//
# Urgent = 1, Not Urgent = 5, Disable = 0
$g_mail_priority = 5;
//
# Taken from mantis for phpmailer config
//define ("SMTP_SEND",2);
//$g_phpMailer_method = SMTP_SEND;
//
// SMTP Configuration
$g_smtp_host = 'localhost'; # SMTP server
//
// Configure only if SMTP server requires
$g_smtp_username = ''; # user
$g_smtp_password = ''; # password
// ----------------------------------------------------------------------------
第二种:修改config.inc.php中的[smtp],配置为公司邮箱发送,用我公司邮箱调试成功!
// ----------------------------------------------------------------------------
/** [SMTP] */
// Developer Note:
// these config variable names has been choosed to maintain compatibility
// with code taken from Mantis.
//
// SMTP server Configuration ("localhost" is enough in the most cases)
$g_smtp_host = 'smtp.corp.com'; # SMTP 服务必须配置,可配置你公司发送邮件服务器地址
# Configure using custom_config.inc.php
$g_tl_admin_email = 'test@corp.com'; #问题错误通知,配置你公司的邮箱
$g_from_email = 'test@corp.com'; # 收到邮件看到的发送地址
$g_return_path_email = 'test@corp.com';#如果收到邮件的人进行回复的邮件地址
# Urgent = 1, Not Urgent = 5, Disable = 0
$g_mail_priority = 5;
# Taken from mantis for phpmailer config
define ("SMTP_SEND",2);
$g_phpMailer_method = SMTP_SEND;#使用SMTP协议进行发送
// Configure only if SMTP server requires authentication
$g_smtp_username = 'test@corp.com'; # smtp发送的用户名
$g_smtp_password = 'test'; # 发送用户的密码
// ----------------------------------------------------------------------------
- Testlink发送邮件的两种配置方法
- Testlink发送邮件的两种配置方法
- Testlink发送邮件的两种配置方法
- Testlink发送邮件的两种配置方法
- TestLink学习三:发送邮件的两种配置方法
- django 发送邮件的两种方法
- .NET 使用C#两种发送邮件的方法
- 使用PHP发送邮件的两种方法
- Asp.net发送邮件的两种方法
- Java程序发送邮件的两种方法
- Java程序发送邮件的两种方法
- Java程序发送邮件的两种方法
- Java程序发送邮件的两种方法
- c#发送邮件内嵌图片的两种方法
- 网站发送邮件及群发的两种方法
- 使用PHP发送邮件的两种方法
- testlink修改邮件配置
- ABAP 发送邮件的两种方式
- don的留言板
- 用div层来实现页面半透明遮罩效果
- svn版本内容信息存放路径
- FastCGI模式安装php
- 逮兔子
- Testlink发送邮件的两种配置方法
- nfs:server is not responding,still trying 原因与解决方案
- 模态对话框中提交表单
- 分啊分啊分啊,拿分就那难吗?
- 用JS获得当前页面详细地址 【转】
- 人生没有 Ctrl+ Z
- 工作经验不足如何写简历
- 公司标识 Inside Dynamics AX 4.0 Company Identifiers
- 关于Java中各种修饰符与访问修饰符的说明