Open Closed

Email settings / management #277


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)
  • 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)?

  • 0
    liangshiwei created
    Support Team

    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