Ask Your Question

How to fix error when sending mail through anonymous SMTP server?

asked 2018-04-26 10:06:50 -0500

jeff gravatar image

When SDC tries to send an email through an SMTP server that is configured as an anonymous relay (no username or password required), this error appears: EmailException: javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client. What should be done to fix this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-04-26 10:08:04 -0500

jeff gravatar image

Try setting mail.smtp.ehlo=false in the file. This disables the EHLO command, and might be needed for servers that are configured to not expect a username/password.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-04-26 10:06:50 -0500

Seen: 419 times

Last updated: Apr 26 '18