Open Closed

emailing doesn't work locally #8450


User avatar
0
LiSong created
  • ABP Framework version: v8.2.2

  • UI Type: MVC

  • Database System: SQL Server

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue:

I am using Office 365 SMTP for emailing, it works on the server but not on my local machine, I tried gmail smtp locally, it didn't work either, how should I debug? both office and gmail smtp work on the server so the settings should be correct. it shows the successful message and has no errors in the Logs


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    it shows the successful message and has no errors in the Logs

    Can you share the logs ?

    The template project will use NullEmailSender by default please remember to remove it.

    #if DEBUG
            context.Services.Replace(ServiceDescriptor.Singleton());
    #endif
    
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