spring-boot - 454 4.7.0 Spring Boot 2.1.4.RELEASE 中登录尝试次数过多

标签 spring-boot email ssl smtp smtp-auth

我使用具有这些属性的 SpringBoot 2.1.4.RELEASE 应用程序发送电子邮件

spring.mail.host=smtp.gmail.com
spring.mail.username=calzada@gmail.com
spring.mail.password=***OBSCURED***
spring.mail.properties.mail.smtp.auth = true
spring.mail.properties.mail.smtp.socketFactory.port = 587
spring.mail.properties.mail.smtp.socketFactory.class = javax.net.ssl.SSLSocketFactory
spring.mail.properties.mail.smtp.socketFactory.fallback = false
spring.mail.propertirs.mail.smtp.ssl.enable = true
spring.mail.properties.mail.smtp.starttls.enable=true 
spring.mail.properties.mail.smtp.starttls.required=false

一切都很好,直到我尝试发送包含以下结果的电子邮件:

The email account that you tried to reach is over quota. Please direct the recipient to https://support.google.com/mail/?p=OverQuotaTemp b133sor4470647wmd.14 - gsmtp

在那个错误之后,我在发送电子邮件时遇到了这个错误:

Caused by: javax.mail.AuthenticationFailedException: 454 4.7.0 Too many login attempts, please try again later. b54sm8636925ede.58 - gsmtp

最佳答案

可能是您发送的邮件过多。检查 smtp 服务的限制。

https://support.google.com/a/answer/166852?hl=en

关于spring-boot - 454 4.7.0 Spring Boot 2.1.4.RELEASE 中登录尝试次数过多,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55578465/

相关文章:

java - 在java中发送电子邮件(在本地工作)(Spring MVC)

http - 在 URL 的开头有 "https"而无需手动添加它

java - Java/Spring 中与 Restful API 交互的工具

java - 将 querydsl 与 Spring Boot、Gradle 和 Idea 一起使用时,QClasses 中未解析的符号

java - 发生org.springframework.beans.factory.UnsatisfiedDependencyException。但我没有改变任何东西

spring-boot - springboot fat jar 的 graalvm native 镜像在运行时抛出 NoSuchMethodException xxx.<init>()

mysql - 部落身份验证后端配置

php - 如何将 CSS 附加到 PHP 中的 mail() 方法?

sql-server-2005 - 使用 Wireshark 检查通过 SSL 的 SQL 连接的加密握手

javascript - Socket.io - 通过 Cloudflare 的 SSL