Base solution for your next web application
Open Closed

Test sending email #5372


User avatar
0
joe704la created

I changed the email template and was wondering how I can test sending the email from debug. Is there away?


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Comment out this code under the Core module to send mail.

    Configuration.ReplaceService<IEmailSender, NullEmailSender>(DependencyLifeStyle.Transient);
    
  • User Avatar
    0
    joe704la created

    Awesome. Thanks