Search code examples
javaspringemailjakarta-mail

Email Client using Spring


I am looking to build an email client using Spring in Java to hopefully get some experience using the Spring framework. Would I be best off using the JavaMail library or the Email library that is part of the Spring framework?

I have no experience with either, just wondered what the best option would be. I mainly want to learn Spring in more detail.


Solution

  • The Spring mail library is just a thin wrapper around the JavaMail API. It's considerably easier to use than the raw API.

    It's not a core part of Spring, though, and won't really teach you much about how Spring works.