Base solution for your next web application
BLACK FRIDAY
From Nov 21
To Dec 1
XXDAYS : XXHRS : XXMIN : XXSEC
SAVE UP TO$3K
Also valid for the
existing customers!
Open Closed

Activate email even in debug mode how do I do? #5048


0
squaresunion created

Hello, Ive been looking for this in vain. How to activate email in debug mode please. Working on .Net Core/Angular 5.

Thanks


2 Answer(s)
  • 0
    squaresunion created

    found the answer :) if class SquaresUnionCoreModule find line of code if (DebugHelper.IsDebug) { //Disabling email sending in debug mode Configuration.ReplaceService<IEmailSender, NullEmailSender>(DependencyLifeStyle.Transient); } Hope this will help somebody else. Regards

  • 0
    alper created
    Support Team

    it writes the code in host logs