Open Closed

Email settings / management #277


User avatar
0
saintpoida created
  • ABP Framework version: v2.9.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hi guys I am not sure if I am doing anything wrong here but trying to set email settings has been a little annoying. Since the settings provider for email settings is already setup by your modules how can I get it to display in the front end UI? The email management module seems to be an old version (2.6?) in commercial nuget repository and if I try add it the project wont run.

I can set the settings in appsettings however the password is expected to be encrypted by default and obviously its not encrypted if im adding it to the appsettings file. I have overridden the email settings as per documentation using the following and can get it to work but it would be nicer if I could just use UI if it exists already?

public class EmailOverrideSettingsProvider : SettingDefinitionProvider
    {
        public override void Define(ISettingDefinitionContext context)
        {
            var password = context.GetOrNull(EmailSettingNames.Smtp.Password);
            if (password != null)
            {
                password.IsEncrypted = false;
            }
        }
    }

2 Answer(s)
  • User Avatar
    0
    saintpoida created

    Further on related email process, if I make it so a user needs to confirm email how can they resend confirm email (from identity server)?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    There is currently no Angular UI for email settings,it will be added in a future version. You can according the document to add your own email setting page.

    About confirm email , see https://support.abp.io/QA/Questions/168/SignIn-settings-does-not-works-as-expected

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11