[keycloak-user] How to change subject of mail
Łukasz Dywicki
luke at code-house.org
Thu May 16 08:50:22 EDT 2019
You need to create your mail theme and attach it to realm.
Theme must have own messages_en.properties with following keys:
- emailVerificationSubject
- identityProviderLinkSubject
- passwordResetSubject
- executeActionsSubject
- eventLoginErrorSubject
- eventRemoveTotpSubject
- eventUpdateTotpSubject
Each of these have also "Body" and "BodyHtml" variant (ie.
passwordResetBody, passwordResetBodyHtml) which determine mail contents.
See more here:
https://github.com/keycloak/keycloak/blob/4.8.3.Final/themes/src/main/resources/theme/base/email/messages/messages_en.properties
Cheers,
Łukasz
--
Code-House
http://code-house.org
On 16.05.2019 13:48, Christophe Lehingue wrote:
> Hello,
>
> For customization "themes / base / email / html / email-verification.ftl".
>
> When sending the email to the user concerned: I would like to change
> the title / subject of the email.
>
> Do you know how I could do it?
>
> Thank you.
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
More information about the keycloak-user
mailing list