Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Spring JavaMailSenderImpl does not show proper message when recipient list is empty [SPR-17540] #22072
org.springframework.mail.javamail.JavaMailSenderImpl does not show proper message when recipient list is empty.
Currently it just throws NPE, which is hard to debug for beginners.
Juergen Hoeller commented
I've addressed this slightly differently, passing an empty