I am trying to send email to my zoho account, to my custom domain (not zoho.com) from another email account noreply@usomutuo.com Every mail i send i get the following error:
Failed to close server connection after message failures; nested exception is javax.mail.MessagingException: Can't send command to SMTP host;
nested exception is:
java.net.SocketException: Connection or outbound has closed. Failed messages: com.sun.mail.smtp.SMTPSendFailedException: 553 Relaying disallowed as eaabreu@host.docker.internal ; message exception details (1) are:
Failed message 1:
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:2267)
at com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:2045)
mail:
host: smtp.zoho.com
port: 587
password: xxxxxxxxx
protocol: smtp
debug: true
tls: true
properties.mail.smtp:
auth: true
startssl.enable: true
starttls.enable: true
starttls.required: true
ssl.trust: smtp.zoho.com
What can i do?
Thanks
Evandro