Olá, venho tendo um erro na hora de enviar emails, já busquei informações em alguns foruns, ChatGPT, mas nada funciona.
Aqui estão mais detalhes se alguém puder ajudar.
Erro ao enviar email Mail server connection failed. Failed messages: jakarta.mail.MessagingException: [EOF]
2024-07-02T21:06:19.599-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : useEhlo true, useAuth true
2024-07-02T21:06:19.600-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : trying to connect to host "smtp.gmail.com", port 587, isSSL false
2024-07-02T21:06:21.933-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : connected to host "smtp.gmail.com", port: 587
2024-07-02T21:06:22.196-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : EOF: [EOF]
Erro ao enviar email Mail server connection failed. Failed messages: jakarta.mail.MessagingException: [EOF]
2024-07-02T21:06:22.199-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : useEhlo true, useAuth true
2024-07-02T21:06:22.200-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : trying to connect to host "smtp.gmail.com", port 587, isSSL false
2024-07-02T21:06:25.140-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : connected to host "smtp.gmail.com", port: 587
2024-07-02T21:06:25.352-03:00 DEBUG 13444 --- [nio-8080-exec-1] com.sun.mail.smtp : EOF: [EOF]
Erro ao enviar email Mail server connection failed. Failed messages: jakarta.mail.MessagingException: [EOF]
Suspeito que a conexão esteja sendo estabelecida, porém está perdendo a conexão.