[keycloak-user] Custom verification mail with image

abhishek raghav abhi.raghav007 at gmail.com
Tue Nov 27 08:06:19 EST 2018


Hi Luka,

Were you able to find any workaround to include image in the custom email
template. I also encountered the same issue. It looks like keycloak does
not respect the same folder structure as maintained in login.


*- Best Regards*
   Abhishek Raghav








On Tue, Oct 16, 2018 at 10:43 PM Luka Odak <Luka.Odak at maurer-electronics.hr>
wrote:

> Hy,
>
> I'm trying to customize email which is sent on
> executeActionsEmail("VERIFY_EMAIL")
> In folder themes I created following structure
> mytheme
>     email
>         html
>         messages
>         text
>         resources
>             img
>             css
>         theme.properties
>
> and populated it with necessary files. When in messages_en.properties I
> set <img src=" ${url.resourcesPath}/img/ logo.jpg"> delivered mail is not
> stylized, but just plain text without image.
> I tried to move resources directory through structure but without success.
> Also I've tried to hardcode path to the image. That way I receive stylized
> email but without image.
> What am I doing wrong?
> Thanks.
>
>
> With best regards
> -------------------------------------------------------------
> Luka Odak
> Software Developer
> _______________________________________________
> 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