Files
2025-10-14 21:15:51 +05:00

20 lines
469 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using MimeKit;
using MimeKit.Cryptography;
using Streetwriters.Common.Models;
namespace Streetwriters.Common.Interfaces
{
public interface IEmailSender
{
Task SendEmailAsync(
string email,
EmailTemplate template,
IClient client,
GnuPGContext? gpgContext = null,
Dictionary<string, byte[]>? attachments = null
);
}
}