Package com.liferay.mail.kernel.service
Class MailServiceUtil
Object
com.liferay.mail.kernel.service.MailServiceUtil
- Author:
- Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic MailServicestatic javax.mail.Sessionstatic javax.mail.SessiongetSession(long companyId) static javax.mail.SessiongetSession(Account account) static voidsendEmail(MailMessage mailMessage) voidsetService(MailService mailService)
-
Constructor Details
-
MailServiceUtil
public MailServiceUtil()
-
-
Method Details
-
clearSession
public static void clearSession() -
getService
-
getSession
public static javax.mail.Session getSession() -
getSession
-
getSession
public static javax.mail.Session getSession(long companyId) -
sendEmail
-
setService
-