Open Closed

Send email not working why ? #9347


User avatar
0
devmahmod created

Test


2 Answer(s)
  • User Avatar
    0
    roberto.fiocchi created

    In Debug Mode you generally don't want to send real emails,this is what the abp guide says :) https://abp.io/docs/latest/framework/infrastructure/emailing?#nullemailsender

    Also, the password ("Abp.Mailing.Smtp.Password") must be encrypted https://abp.io/docs/latest/framework/infrastructure/emailing?_redirected=B8ABF606AA1BDF5C629883DF1061649A#encrypt-the-smtp-password

    I hope I was helpful.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can use this sample to test your Abp.Mailing configuration

    1. The Password of Abp.Mailing.Smtp.Password in appsettings.json file needs to encrypt!
    2. Please use the IStringEncryptionService to encrypt the plain text password.
    3. Note that encryption may be affected by the configuration of StringEncryption:DefaultPassPhrase in appsettings.json.

    https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo

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.0.0-preview. Updated on September 01, 2025, 08:37