Package org.keycloak.email
Interface EmailSenderProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
DefaultEmailSenderProvider
- Author:
- Stian Thorgersen
-
Method Summary
Modifier and TypeMethodDescriptionvoid
default void
void
Validates configuration for the SMTP sender.
-
Method Details
-
send
default void send(Map<String, String> config, UserModel user, String subject, String textBody, String htmlBody) throws EmailException- Throws:
EmailException
-
send
void send(Map<String, String> config, String address, String subject, String textBody, String htmlBody) throws EmailException- Throws:
EmailException
-
validate
Validates configuration for the SMTP sender.- Parameters:
config
- The configuration to test- Throws:
EmailException
- If some error is found
-