liming_bse 2007-8-28 16:50
安装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.
[[i] 本帖最后由 liming_bse 于 2007-8-28 17:02 编辑 [/i]]
liming_bse 2007-8-28 17:00
在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;
是按照这样配置的
------------------------------------------------------------------------
[url]http://www.aditus.nu/jpgraph/jpdownload.php[/url]
[[i] 本帖最后由 liming_bse 于 2007-8-28 17:05 编辑 [/i]]
liming_bse 2007-8-29 23:30
已经解决了..有个地方忘加端口了
cbook 2008-5-12 15:59
[quote]原帖由 [i]liming_bse[/i] 于 2007-8-29 23:30 发表 [url=http://bbs.51testing.com/redirect.php?goto=findpost&pid=689172&ptid=88489][img]http://bbs.51testing.com/images/common/back.gif[/img][/url]
已经解决了..有个地方忘加端口了 [/quote]
哪个地方你不能说出来啊