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:

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

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

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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • 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

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    saad.aldulaijan created

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

    I tried flushall redis.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    saad.aldulaijan created

    I found this error as well

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    1
    saad.aldulaijan created

    Issue resolved by adding

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

    to AuthServer appsettings.json

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.