Interface EmailGateway

    • Method Detail

      • sendEmail

        void sendEmail​(String from,
                       String to,
                       String subject,
                       String message,
                       Map<String,​String> options)
                throws org.forgerock.openam.authentication.modules.oauth2.NoEmailSentException
        Sends an email message to the mail with the code

        Parameters:
        from - The address that sends the E-mail message
        to - The address that the E-mail message is sent
        subject - The E-mail subject
        message - The content contained in the E-mail message
        options - The mail gateway options defined in the HOTP authentication module
        Throws:
        org.forgerock.openam.authentication.modules.oauth2.NoEmailSentException