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<IEmailSender, NullEmailSender>());
    #endif
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09