Interface EmailGateway
- 
@SupportedAll public interface EmailGateway
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsendEmail(String from, String to, String subject, String message, Map<String,String> options)Sends an email message to the mail with the code 
 - 
 
- 
- 
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 messageto- The address that the E-mail message is sentsubject- The E-mail subjectmessage- The content contained in the E-mail messageoptions- The mail gateway options defined in the HOTP authentication module- Throws:
 org.forgerock.openam.authentication.modules.oauth2.NoEmailSentException
 
 - 
 
 -