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)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08