caoyujia2000
V2EX  ›  PHP

记录 opencart mail 配置

  •  
  •   caoyujia2000 · Apr 28, 2016 · 2227 views
    This topic created in 3676 days ago, the information mentioned may be changed or developed.
    提交订单后,没有收到对应的邮件提示
    通过后台查看错误日志
    PHP Notice: Error: EHLO not accepted from server!
    google 了相关信息,可惜都是千篇一律的配置,有问题,特此记录一下
    邮件协议: SMTP
    邮件参数: SMTP 的情况下可以不填
    SMTP 主机: ssl://smtp.exmail.qq.com
    SMTP 用户: [email protected]
    SMTP 密码:*******
    SMTP 端口: 465
    SMTP 超时: 5
    注意以上填写的 SMTP 用户的邮箱,要和后台网店设置-编辑项目里的 电子邮箱地址一致 不然后台会报错误信息
    PHP Notice: Error: MAIL FROM not accepted from server!
    另外 你的服务器如果是 linux 的话,记得 iptables 开启 465 端口
    以上的环境是 lnmp , opencart 中文版 Version 2.0.1.1
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2775 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 01:12 · PVG 09:12 · LAX 18:12 · JFK 21:12
    ♥ Do have faith in what you're doing.