Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

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


User avatar
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)
  • User Avatar
    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

  • User Avatar
    0
    alper created
    Support Team

    it writes the code in host logs