10 lines
493 B
C#
10 lines
493 B
C#
using DependencyInjector.Abstractions.Lifetimes;
|
|
|
|
namespace back.services.engine.mailing;
|
|
|
|
public interface IEmailService : IScoped
|
|
{
|
|
Task SendEmailAsync(List<string> tos, string from, string subject, string body, Dictionary<string, object>? attachments = null, CancellationToken cancellationToken = default);
|
|
Task SendEmailAsync(string tos, string from, string subject, string body, Dictionary<string, object>? attachments = null, CancellationToken cancellationToken = default);
|
|
}
|