Base solution for your next web application
Open Closed

Decrypt / Encrypt Settings #3325


User avatar
0
astorineland created

Hi,

Thanks a lot for this framework and your work!

While trying to configure the IEmailSender I discovered that it take default value in Settings with the name of Abp.Net.Mail.EmailSettingsNames.Smtp class.

I've found that this class is responsible to get the values from the settings 'SmtpEmailSenderConfiguration' for the IEmailSender. But there is nothing to Decrypt the settings.

So is there a class to Decrypt / Encrypt in ABP ?

Else what should be the best way to achieve this ? #1 - Inherit SmtpEmailSenderConfiguration to change the SMTP Password Get Property. #2 - Create a class that implement ISmtpEmailSenderConfiguration.

I don't know if #1 is a better solution or not!

Then i will change in the module configuration the Service to my service!

Thanks!


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is metioned here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/988">https://github.com/aspnetboilerplate/as ... issues/988</a>. We are thinking to implement this in the future.

    Thanks a lot for your thoughts :)

  • User Avatar
    0
    astorineland created

    I did it exactly that way!

    thanks