V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
ibiner
V2EX  ›  问与答

discuz gmail 配置

  •  
  •   ibiner · 2016-09-13 19:28:18 +08:00 · 2603 次点击
    这是一个创建于 2782 天前的主题,其中的信息可能已经有所发展或是发生改变。

    使用 vps 安装 LNMP, 想弄一个 Discuz 论坛,使用 gmail 进行邮件设置不成功。

    配置 Discuz x3.2 邮件设置: 邮件发送方式:选择“通过 SOCKET 连接 SMTP 服务器发送(支持 ESMTP 验证)” SMTP 服务器: ssl://smtp.gmail.com SMTP 端口: 465

    有人知道啥原因不?

    5 条回复    2020-02-24 00:34:24 +08:00
    tempdban
        1
    tempdban  
       2016-09-13 19:29:19 +08:00 via Android
    服务器在国外么?
    tempdban
        2
    tempdban  
       2016-09-13 19:30:19 +08:00 via Android
    登录你的 gmail 会有邮件告诉你的
    ibiner
        3
    ibiner  
    OP
       2016-09-13 20:13:03 +08:00
    @tempdban 服务器在 Linode,登录 Gmail:
    Someone just used your password to try to sign in to your Google Account .
    这个说明设置应该是没有问题的。只是被 gmail 给墙了。
    ibiner
        4
    ibiner  
    OP
       2016-09-13 20:44:20 +08:00
    已解决。
    登录 Gmail:
    1.打开 allow less secure apps
    2.打开: https://accounts.google.com/DisplayUnlockCaptcha , 点击继续。
    这样就可以使用 gmail smtp 来为 discuz 发邮件了。
    ciliclub
        5
    ciliclub  
       2020-02-24 00:34:24 +08:00
    @ibiner 感谢分享
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2983 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 13:32 · PVG 21:32 · LAX 06:32 · JFK 09:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.