This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

Is it right, that JavaMailSenderImpl requires authentication (username and password), so that setting mail.smtp.auth to false has no effect?
The JavaDoc of setUsername and setPassword suggest s.th. different.

No. JavaMailSenderImpl does not require authentication. I ran into this today. But removing that property all together fixed my issue. Ie, for my environment that didn't require authentication - all i needed was the host and port.