Package lumis.portal.sendmail
Interface IMailSender
-
- All Known Implementing Classes:
SmtpMailSender
@StableMinor(version="14.0", sinceVersion="4.0") public interface IMailSender
Defines the methods a mail sender must implement. A mail sender is an object called byISendMailManager
to perform the sending of mails.- Since:
- 4.0.4
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sendMail(SessionConfig sessionConfig, ISingleMail mail, ITransaction transaction)
Sends a mail.
-
-
-
Method Detail
-
sendMail
void sendMail(SessionConfig sessionConfig, ISingleMail mail, ITransaction transaction) throws PortalException
Sends a mail.- Parameters:
sessionConfig
- the user session informationmail
- information about the mail to be sent.transaction
- the transaction for persistence access.- Throws:
PortalException
- if it was not possible to send the mail.
-
-