Email settings
If you want to send emails from your ServiceLayer, provide the settings that .NET can use to send these emails.
You can also activate Email Error Log, in this case you will get all API errors as an email, so use this with care!
Sending emails in the ASP.NET Core API
Use the IMailService
or INotificationService
to send emails from your ServiceLayer API (C#).