求助 IIS7 下php服务器 mail函数发送失败的问题
发现心流 2011-04-13 10:33:38 使用 hMailServer 配置了SMTP服务器,
php.ini打开了所有的错误和警告信息,mail函数无任何提示信息, 对应的gmail信箱没有收到邮件。
根据邮件的发送报告,smtp对邮件进行了发送,但是目标服务器没有回应
php.ini配置如下:
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
sendmail_from = webmaster@127.0.0.1
Content-Type: text/plain; charset="utf-8"
Return-Path: <>
Message-ID: <4F0AC3E7-0B58-456E-9C08-6C4AA5E8EA4C@localhost>
Date: Wed, 13 Apr 2011 05:57:30 -0700
From: mailer-daemon@localhost
To: webmaster@127.0.0.1
Subject: Undeliverable: We are proccessing your question as soon as possible !
Content-Transfer-Encoding: quoted-printable
X-hMailServer-LoopCount: 1
Your message did not reach some or all of the intended recipients.
Sent: Wed, 13 Apr 2011 09:47:20 +0100
Subject: We are proccessing your question as soon as possible !
The following recipient(s) could not be reached:
toe@gmail.com
Error Type: SMTP
Connection to recipients server failed.
Error: Host name: 74.125.127.27, message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Tried 5 time(s)
hMailServer