When using Liberty 188.8.131.52, what options do we have to send out some type of notifications (not necessarily via e-mail)?
Pinned topic Can Liberty be used as an SMTP server?
Alasdair 1000007WV455 PostsACCEPTED ANSWER
Re: Can Liberty be used as an SMTP server?2014-01-09T18:29:56Z in response to LaraZiosi
It really depends on what kind of notification you want to send. For example if you want to send an email you could package a Java Mail provider in your application to send emails, this will require an external SMTP server to connect to. If you want to send notifications to twitter you could use twitter4j. Depending on what type of notification you want to send you'll need a different library.
LaraZiosi 120000FSWP8 PostsACCEPTED ANSWER
Re: Can Liberty be used as an SMTP server?2014-01-09T19:29:34Z in response to Alasdair
Thank you, so if I ready your reply correctly, Liberty itself will not act as an SMTP server, contrary to what traditional WAS does?
gas 110000E92M3 PostsACCEPTED ANSWER
Re: Can Liberty be used as an SMTP server?2014-01-09T21:44:44Z in response to LaraZiosi
Traditional WAS cannot act as SMTP server either, like none of JEE application servers. They are, as name stands Application servers , not a mail server. They however, provide services(JavaMail, JNDI) to connect and use EXTERNAL SMTP server to send and receive mails from your application.
sutter 120000EB4G6 PostsACCEPTED ANSWER
Re: Can Liberty be used as an SMTP server?2014-01-10T13:59:21Z in response to gas
Correct, Gas. Traditional WAS provided the JavaMail client as part of the full platform Java EE 6 offering. JavaMail is not a requirement for the Java EE Web Profile, so it was not included with Liberty. JavaMail provides the client side of the mail facility, not the server side.
As Alasdair pointed out earlier, if JavaMail is desired on Liberty, you could easily package a JavaMail provider with your application.
Hope this helps,