Class MailServiceImpl

Object
com.liferay.mail.service.impl.MailServiceImpl
All Implemented Interfaces:
com.liferay.mail.kernel.service.MailService, com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService

@CTAware public class MailServiceImpl extends Object implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.mail.kernel.service.MailService
Author:
Brian Wing Shun Chan
  • Constructor Details

    • MailServiceImpl

      public MailServiceImpl()
  • Method Details

    • clearSession

      @Clusterable public void clearSession()
      Specified by:
      clearSession in interface com.liferay.mail.kernel.service.MailService
    • clearSession

      @Clusterable public void clearSession(long companyId)
      Specified by:
      clearSession in interface com.liferay.mail.kernel.service.MailService
    • getOSGiServiceIdentifier

      public String getOSGiServiceIdentifier()
      Specified by:
      getOSGiServiceIdentifier in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
    • getSession

      public javax.mail.Session getSession()
      Specified by:
      getSession in interface com.liferay.mail.kernel.service.MailService
    • getSession

      public javax.mail.Session getSession(com.liferay.mail.kernel.model.Account account)
      Specified by:
      getSession in interface com.liferay.mail.kernel.service.MailService
    • getSession

      public javax.mail.Session getSession(long companyId)
      Specified by:
      getSession in interface com.liferay.mail.kernel.service.MailService
    • sendEmail

      public void sendEmail(com.liferay.mail.kernel.model.MailMessage mailMessage)
      Specified by:
      sendEmail in interface com.liferay.mail.kernel.service.MailService