Starts in:
2 DAYS
0 HR
24 MIN
0 SEC
Starts in:
2 D
0 H
24 M
0 S
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 November 20, 2024, 13:06