google搜索 51Testing站内搜索                    软件测试门户 | 软件测试培 训 | 文章资料精选 | 软件测试论坛 | 软件测试博客 | 测试招聘求职 
打印

[求助] 安装mantis邮件配置出错,求解。。。

安装mantis邮件配置出错,求解。。。


使用的是公司内部的邮件服务器,按照安装手册上的步骤配置完之后出现以下问题,在OUTlook设置相同SMTP是可以收发邮件的,这里连不上请问是什么原因

Testing Email
You can test the mail() function with this form. Just check the recipient and click submit. If the page takes a very long time to reappear or results in an error then you will need to investigate your php/mail server settings. Note that errors can also appear in the server error log. More help can be found at the PHP website.

Testing Mail -
SYSTEM WARNING: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: 不知道这样的主机。

SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to 服务器IP (Unknown error)

PROBLEMS SENDING MAIL TO: 我的邮箱地址
Mailer Error: SMTP Error: Could not connect to SMTP host.

[ 本帖最后由 liming_bse 于 2007-8-28 17:02 编辑 ]

TOP

在C:\Program Files\EasyPHP1-8\apache下的php.ini文件中查找SMTP,将SMTP = localhost,SMTP = 服务器IP;
查找sendmail_from,将前面的分号去掉,并在后面填上邮件地址:sendmail_from = 我的邮件地址。

在C:\Program Files\EasyPHP1-8\www\mantis_1.0.5\config_inc.php文件中添加
   $g_administrator_email    = 我的邮件地址;
   $g_webmaster_email        = 我的邮件地址;
   $g_from_email            = 我的邮件地址;
   $g_return_path_email    = 我的邮件地址;
   $g_smtp_host=服务器IP;
   $g_smtp_username='帐号';
   $g_smtp_password='密码';
   $g_phpMailer_method =2;


是按照这样配置的
------------------------------------------------------------------------
http://www.aditus.nu/jpgraph/jpdownload.php

[ 本帖最后由 liming_bse 于 2007-8-28 17:05 编辑 ]

TOP

已经解决了..有个地方忘加端口了

TOP

引用:
原帖由 liming_bse 于 2007-8-29 23:30 发表
已经解决了..有个地方忘加端口了
哪个地方你不能说出来啊

TOP

 
当前时区 GMT+8, 现在时间是 2008-10-13 05:22Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹