Open Closed

Abp Commercial Text Template Module #2620


User avatar
0
balessi75 created

Abp Commercial / 5.1.3/ EF / Blazor Server / Non-tiered

Hi - We updated the default text for the email confirmation text template with the word "test"...

...however, when we send an email during registration of a new user, the Abp default text gets emailed not our saved text of "test". Is there another configuration step to override the default email confirmation text? It is not clear from the documentation.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can set the Layout to null of the AccountEmailTemplates.EmailConfirmationLink

    public class DemoTemplateDefinitionProvider : TemplateDefinitionProvider
    {
          public override void Define(ITemplateDefinitionContext context)
          {
                context.GetOrNull(AccountEmailTemplates.EmailConfirmationLink).Layout = null;
          }
    }
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19