Class MailManagerImpl

  • All Implemented Interfaces:
    io.vertigo.core.node.component.Component, io.vertigo.core.node.component.CoreComponent, io.vertigo.core.node.component.Manager, MailManager

    public final class MailManagerImpl
    extends Object
    implements MailManager
    This class is the standard impl of the mailManager. This class have a single plugin to parameterize the way that mails are sent.
    Author:
    npiedeloup
    • Constructor Detail

      • MailManagerImpl

        @Inject
        public MailManagerImpl​(io.vertigo.core.locale.LocaleManager localeManager,
                               SendMailPlugin sendMailPlugin)
        Constructor.
        Parameters:
        localeManager - the manager of the localized messages
        sendMailPlugin - the plugin that sends mails
    • Method Detail

      • sendMail

        public void sendMail​(Mail mail)
        Envoyer un mail.
        Specified by:
        sendMail in interface MailManager
        Parameters:
        mail - Mail à envoyer