Sending Mail from a Liferay Portlet or Hook is a pretty simple ordeal, although it becomes a bit tedious if not done correctly as I found out, after I had wasted more than a day trying to send it. To send an email from liferay, firstly, we will have to setup the SMTP Server from […]