Uses of Class
org.keycloak.email.EmailException
Packages that use EmailException
Package
Description
-
Uses of EmailException in org.keycloak.email
Methods in org.keycloak.email with parameters of type EmailExceptionModifier and TypeMethodDescriptionvoidEmailDeliveryListener.onFailed(KeycloakSession session, EmailException e) Methods in org.keycloak.email that throw EmailExceptionModifier and TypeMethodDescriptionvoidDefaultEmailAuthenticator.connect(KeycloakSession session, Map<String, String> config, jakarta.mail.Transport transport) voidEmailAuthenticator.connect(KeycloakSession session, Map<String, String> config, jakarta.mail.Transport transport) voidPasswordAuthEmailAuthenticator.connect(KeycloakSession session, Map<String, String> config, jakarta.mail.Transport transport) voidTokenAuthEmailAuthenticator.connect(KeycloakSession session, Map<String, String> config, jakarta.mail.Transport transport) default RenderedEmailEmailTemplateProvider.renderPasswordReset(String link, long expirationInMinutes) Builds the reset password email without sending it.static voidActionTokenEmail.send(KeycloakSession session, RealmModel realm, UserModel user, ActionTokenEmail.Params params, List<String> actions, jakarta.ws.rs.core.UriInfo uriInfo) Builds the action-token URL using the active HTTP request's base URI and sends the email.static voidActionTokenEmail.send(KeycloakSession session, RealmModel realm, UserModel user, ActionTokenEmail.Params params, List<String> actions, URI baseUri) Builds the action-token URL usingbaseUriand sends the email.voidDefaultEmailSenderProvider.send(Map<String, String> config, String address, String subject, String textBody, String htmlBody) voidDefaultEmailSenderProvider.send(Map<String, String> config, UserModel user, String subject, String textBody, String htmlBody) voidEmailSenderProvider.send(Map<String, String> config, String address, String subject, String textBody, String htmlBody) default voidEmailSenderProvider.send(Map<String, String> config, UserModel user, String subject, String textBody, String htmlBody) voidEmailTemplateProvider.send(String subjectFormatKey, String bodyTemplate, Map<String, Object> bodyAttributes) Send formatted emailvoidEmailTemplateProvider.send(String subjectFormatKey, String bodyTemplate, Map<String, Object> bodyAttributes, String destinationEmail) Send formatted email to a specific address, ignoring the user's emailvoidEmailTemplateProvider.send(String subjectFormatKey, List<Object> subjectAttributes, String bodyTemplate, Map<String, Object> bodyAttributes) Send formatted emailvoidEmailTemplateProvider.send(String subjectFormatKey, List<Object> subjectAttributes, String bodyTemplate, Map<String, Object> bodyAttributes, String destinationEmail) Send formatted email to a specific address, ignoring the user's emaildefault voidEmailTemplateProvider.send(RenderedEmail email, int expiresAt, EmailDeliveryListener onFailed) Sends an email built by one of therendermethods, in the background after the transaction commits when possible, otherwise right away.voidEmailTemplateProvider.sendConfirmIdentityBrokerLink(String link, long expirationInMinutes) Send to confirm that user wants to link his account with identity broker linkvoidEmailTemplateProvider.sendEmailUpdateConfirmation(String link, long expirationInMinutes, String address) voidvoidEmailTemplateProvider.sendExecuteActions(String link, long expirationInMinutes) Change password email requested by adminvoidEmailTemplateProvider.sendOrgInviteEmail(OrganizationModel organization, String link, long expirationInMinutes) voidEmailTemplateProvider.sendPasswordReset(String link, long expirationInMinutes) Reset password sent from forgot password link on loginvoidEmailTemplateProvider.sendSmtpTestEmail(Map<String, String> config, UserModel user) Test SMTP connection with current logged in uservoidEmailTemplateProvider.sendVerifiableCredentialOffer(String link, long expirationInMinutes) voidEmailTemplateProvider.sendVerifyEmail(String link, long expirationInMinutes) protected jakarta.mail.internet.InternetAddressDefaultEmailSenderProvider.toInternetAddress(String email, String displayName) voidvoidValidates configuration for the SMTP sender. -
Uses of EmailException in org.keycloak.email.freemarker
Methods in org.keycloak.email.freemarker that throw EmailExceptionModifier and TypeMethodDescriptionprotected voidFreeMarkerEmailTemplateProvider.addLinkInfoIntoAttributes(String link, long expirationInMinutes, Map<String, Object> attributes) Add link info into template attributes.FreeMarkerEmailTemplateProvider.processTemplate(String subjectKey, List<Object> subjectAttributes, String template, Map<String, Object> attributes) FreeMarkerEmailTemplateProvider.renderPasswordReset(String link, long expirationInMinutes) protected voidFreeMarkerEmailTemplateProvider.send(String subject, String textBody, String htmlBody, String address) voidFreeMarkerEmailTemplateProvider.send(String subjectFormatKey, String bodyTemplate, Map<String, Object> bodyAttributes) voidFreeMarkerEmailTemplateProvider.send(String subjectFormatKey, String bodyTemplate, Map<String, Object> bodyAttributes, String destinationEmail) voidFreeMarkerEmailTemplateProvider.send(String subjectFormatKey, List<Object> subjectAttributes, String bodyTemplate, Map<String, Object> bodyAttributes) voidFreeMarkerEmailTemplateProvider.send(String subjectFormatKey, List<Object> subjectAttributes, String bodyTemplate, Map<String, Object> bodyAttributes, String address) protected voidFreeMarkerEmailTemplateProvider.send(Map<String, String> config, String subject, String textBody, String htmlBody) protected voidFreeMarkerEmailTemplateProvider.send(Map<String, String> config, String subject, String textBody, String htmlBody, String address) voidFreeMarkerEmailTemplateProvider.send(RenderedEmail email, int expiresAt, EmailDeliveryListener onFailed) voidFreeMarkerEmailTemplateProvider.sendConfirmIdentityBrokerLink(String link, long expirationInMinutes) voidFreeMarkerEmailTemplateProvider.sendEmailUpdateConfirmation(String link, long expirationInMinutes, String newEmail) voidvoidFreeMarkerEmailTemplateProvider.sendExecuteActions(String link, long expirationInMinutes) voidFreeMarkerEmailTemplateProvider.sendOrgInviteEmail(OrganizationModel organization, String link, long expirationInMinutes) voidFreeMarkerEmailTemplateProvider.sendPasswordReset(String link, long expirationInMinutes) voidFreeMarkerEmailTemplateProvider.sendSmtpTestEmail(Map<String, String> config, UserModel user) voidFreeMarkerEmailTemplateProvider.sendVerifiableCredentialOffer(String link, long expirationInMinutes) voidFreeMarkerEmailTemplateProvider.sendVerifyEmail(String link, long expirationInMinutes) -
Uses of EmailException in org.keycloak.services
Methods in org.keycloak.services with parameters of type EmailExceptionModifier and TypeMethodDescriptionfinal voidServicesLogger_$logger.failedToSendActionsEmail(EmailException e) voidServicesLogger.failedToSendActionsEmail(EmailException e) final voidServicesLogger_$logger.failedToSendPwdResetEmail(EmailException e) voidServicesLogger.failedToSendPwdResetEmail(EmailException e) -
Uses of EmailException in org.keycloak.utils
Methods in org.keycloak.utils that throw EmailExceptionModifier and TypeMethodDescriptionstatic voidSMTPUtil.checkSMTPConfiguration(KeycloakSession session, Map<String, String> config) Validates the configuration using the email sender provider.