6 Jul 2018 nested exception is javax.mail.AuthenticationFailedException: No authentication mechansims supported by both server and client org.springframework.mail. MailAuthenticationException: Authentication failed; nested exception .