0

|My situation is similar to this link: Email sent! But not received on inbox. PHP -> localhost -> XAMPP -> Web Server

Environment:

Windows 7
XAMPP 1.7.7
Apache/2.2.21
PHP/5.3.8
Wordpress 3.5.1
Woocommerce 2.0.8

sendmail.ini (These are the only 4 settings uncommented

smtp_server=192.168.10.38
smtp_port=25
error_logfile=error.log
debug_logfile=debug.log

php.ini

SMTP = 192.168.10.38
smtp_port = 25
sendmail_from = postmaster@localhost

This is the most interesting part: Actually the email is sent successfully. Here is the /var/log/maillog:

Apr 29 17:36:57 LNXWEBSR01DEV sendmail[20224]: r3T9aueJ020224: from=<xxx@yyy.com>, size=6751, class=0, nrcpts=1, msgid=<50c1838f127b57eff8f50661739a1dec@localhost>, proto=ESMTP, daemon=MTA, relay=[192.168.11.79]

Apr 29 17:36:57 LNXWEBSR01DEV sendmail[20226]: STARTTLS=client, relay=zzzzzz.com., version=TLSv1/SSLv3, verify=FAIL, cipher=DHE-RSA-AES256-SHA, bits=256/256

Apr 29 17:36:57 LNXWEBSR01DEV sendmail[20226]: r3T9aueJ020224: to=<xxx@yyy.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=36751, relay=zzzzzz.com. [111.222.333.444], dsn=2.0.0, stat=Sent (ok:  Message 6887705 accepted)

However, I did not receive any email using MS outlook 2010. I installed Symantec Endpoint protection and when I test it, I disable that already.

I have tried setting up own email server using Mercury. When I tried sending email using Mercury Admin UI, I can receive the email from Outlook!! However, when I do the same on wordpress, it does not work.

I have tried using WP mail SMTP plugin to enable SMTP, the test email is received successfully using Outlook, but when I use wordpress to send the order email again, no email received.

Someone may suggest me to use Gmail, however my company is blocking Gmail SMTP and therefore I am only forced to use internal SMTP only.

Since this is an internal SMTP, no authentication is required.

Can anyone please give me some advice on this?

Thank you very much in advance!!

4

1 回答 1

0

我认为您的 apache smtp 服务器和 xampp 之间存在配置问题。

尝试卸载 Mercury 和 Xampp,然后安装完整的 Xampp 包(不是便携式的),包括 Mercury!

最后,当您打开 Xampp Control 时,启动 Apache、MySQL 和 Mercury。您应该能够发送邮件而无需做任何其他事情。

于 2013-05-18T18:21:59.953 回答