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 void
static MailService
static javax.mail.Session
static javax.mail.Session
getSession
(long companyId) static javax.mail.Session
getSession
(Account account) static void
sendEmail
(MailMessage mailMessage) void
setService
(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
-