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

How to send Emails on Asp.netZero #718


0
sampath created

Hi, Can you tell me is there any apis to use when I need to send emails from my SPA app ? If you can provide any examples or useful links,it's highly appreciated.Thanks.

Note : And how to test the email functionality on localhost ?

Email Popup as shown below :


2 Answer(s)
  • 0
    hikalkan created
    Support Team

    Forgot password sends email for example. We use IEmailSender. In debug mode, it writes logs (configure here: <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/blob/master/src/MyCompanyName.AbpZeroTemplate.Core/AbpZeroTemplateCoreModule.cs#L54">https://github.com/aspnetzero/aspnet-ze ... ule.cs#L54</a> you can remove it to test emailing in debug mode). Just login as host admin and use settings page to change email settings.

  • 0
    sampath created

    It works.Thanks a lot :)