I performed the tests with a test email, I was able to send the email through my application.
When I changed to the production email, the error appeared "Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 553 Relaying disallowed as
aneto7@zohomail.com"
I would like help to resolve this issue.
Following configuration used
spring.mail.host=smtp.zoho.com
spring.mail.smtp.ssl.trust=smtp.zoho.com
spring.mail.port=587
spring.mail.password=password
spring.mail.properties.mail.smtp.starttls.enable=true
spring.mail.properties.mail.smtp.starttls.required=true
spring.mail.properties.mail.smtp.auth=true
spring.mail.properties.mail.smtp.connectiontimeout=10000
spring.mail.properties.mail.smtp.timeout=10000
spring.mail.properties.mail.smtp.writetimeout=10000