doufan6886 2018-01-05 21:02
浏览 97

SMTP无法在WAMP服务器上运行

I have installed WAMP Server on my Windows 10 PC and when I try to send emails through a valid SMTP configuration it doesn't work. The same SMTP configuration works on another LAMP installation and also on a live server.

When I try sending the email through a PrestaShop installation I get following error:

Error: Please check your configuration
Connection could not be established with host smtp.gmail.com [ #0]

And with Magento I get following error:

SMTP Pro Self Test Results
Sending test email to your contact form address: xxxxxxx@example.com from: xxx.adsxx@example.com. Unable to send test email.
Exception message was: Could not open socket
Please check the user guide for frequent error messages and their solutions.
Default templates exist.
Email communications are enabled.

As per my understanding, this issue is not dependent on Magento or PrestaShop, it is coming because of the WAMP installation.

Do I have to enable some extension or something for the WAMP installation? Or have I missed something else?

Please help. Already wasted a lot of time investigating and trying solutions from the Web, but nothing seems to be working.

  • 写回答

5条回答 默认 最新

  • dongzhui4927 2018-01-09 04:56
    关注
    1. make sure that your -

                       extension=php_openssl.dll
                       extension=php_sockets.dll
      

    is enable in php.ini file.

    1. check is Enable ssl_module under Apache Module.
    评论

报告相同问题?

悬赏问题

  • ¥17 pro*C预编译“闪回查询”报错SCN不能识别
  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向