SomethinCool
Dec 16th, 2006, 09:01 PM
Does Java have a built in SMTP engine where I can send emails out through my application? Do I have to go to a third party jar driver in order to do this?
CornedBee
Dec 17th, 2006, 06:01 AM
There is a specification called JavaMail. It is not part of J2SE, but it is part of J2EE. Search for Sun Java Mail and you should find the reference implementation by Sun, which you can download and use for free, under the same license as Java itself.
All in all, JavaMail is rather complex, though. The Spring Framework offers a wrapper around it that makes it a lot simpler to use.