Interface EmailGateway


@SupportedAll public interface EmailGateway
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sendEmail(String from, String to, String subject, String message, Map<String,String> options)
    Sends an email message to the mail with the code
  • Method Details

    • 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