Starts in:
1 DAY
18 HRS
32 MIN
2 SEC
Starts in:
1 D
18 H
32 M
2 S
Open Closed

Abp.Mailing.Smtp.Password is null or empty! - Microservices Template #5553


User avatar
0
saad.aldulaijan created
  • ABP Framework version: v7.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: AbpException: Setting value for 'Abp.Mailing.Smtp.Password' is null or empty!
  • Steps to reproduce the issue:"

I am using Microservices template, I am trying to send confirmation email to the user after registration from AuthServer:

appsettings.json

Commented nullable email sender:

Error:

Database:


5 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Try adding it to the AdministrationService.Host please. SettingMagement is hosted by AdministrationService.

  • User Avatar
    0
    saad.aldulaijan created

    Try adding it to the AdministrationService.Host please. SettingMagement is hosted by AdministrationService.

    I did that already, it did not work

  • User Avatar
    0
    saad.aldulaijan created

    I also added it to IdentityService.HttpApi.Host but still did not work,

    I tried flushall redis.

  • User Avatar
    0
    saad.aldulaijan created

    I found this error as well

  • User Avatar
    0
    saad.aldulaijan created

    Issue resolved by adding

    "StringEncryption": { "DefaultPassPhrase": "RGglP1UMH8AtjP1G" }

    to AuthServer appsettings.json

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