【问题标题】:Cannot open smtp.gmail.com:587无法打开 smtp.gmail.com:587
【发布时间】:2019-09-08 19:31:29
【问题描述】:

我做了所有的配置,但它仍然没有工作。 我的文件夹中没有 ca 证书。

# The full hostname
hostname=***************@gmail.com

# Are users allowed to set their own From: address?
# YES - Allow the user to specify their own From: address
# NO - Use the system generated From: address
FromLineOverride=YES
UseSTARTTLS=YES
UseTLS=YES
AuthUser=************@gmail.com
AuthPass=*************

【问题讨论】:

  • 您的问题是什么?你做了什么?代码在哪里?
  • 我想发邮件我也做了所有的配置但是它不起作用。
  • 对不起。我的英语写得不好。

标签: php smtp gmail


【解决方案1】:

我通过将主机名更改为 localhost 解决了这个问题。

【讨论】:

    猜你喜欢
    • 2016-05-09
    • 1970-01-01
    • 2021-11-21
    • 1970-01-01
    • 2013-08-21
    • 2019-09-20
    • 1970-01-01
    • 1970-01-01
    • 2015-08-22
    相关资源
    最近更新 更多