Interface IMailSender

  • All Known Implementing Classes:
    SmtpMailSender

    @StableMinor(version="16.0",
                 sinceVersion="4.0")
    public interface IMailSender
    Defines the methods a mail sender must implement. A mail sender is an object called by ISendMailManager to perform the sending of mails.
    Since:
    4.0.4
    Version:
    $Revision: 25808 $ $Date: 2023-07-04 15:20:55 -0300 (Tue, 04 Jul 2023) $
    • Method Detail

      • sendMail

        void sendMail​(SessionConfig sessionConfig,
                      ISingleMail mail,
                      ITransaction transaction)
               throws PortalException
        Sends a mail.
        Parameters:
        sessionConfig - the user session information
        mail - information about the mail to be sent.
        transaction - the transaction for persistence access.
        Throws:
        PortalException - if it was not possible to send the mail.