【问题标题】:Gmail account authentication error while sending mail in android application在Android应用程序中发送邮件时Gmail帐户身份验证错误
【发布时间】:2016-04-21 19:35:40
【问题描述】:

当我尝试使用 gmailapi 从 android 应用程序发送消息时出现以下错误。 “无法连接到 SMTP 主机:relay.jangosmtp.net,端口:465,响应:-1”

【问题讨论】:

    标签: java android gmail


    【解决方案1】:

    自 2015 年以来,谷歌不允许“不太安全的应用程序”通过其 SMTP 端口进行连接(这意味着您需要 ssl 或 tls 证书)。

    要允许他们,您可以试试这个:https://support.google.com/accounts/answer/6010255?hl=en

    【讨论】:

      猜你喜欢
      • 2011-02-15
      • 2017-09-22
      • 2012-01-27
      • 2015-11-01
      • 2013-11-24
      • 2017-02-26
      • 1970-01-01
      • 2015-10-22
      • 1970-01-01
      相关资源
      最近更新 更多