using System.Net;
using System.Net.Mail;

namespace e_suite.Service.Mail.Facade;

public interface ISmtpClient : IDisposable
{
    ICredentialsByHost? Credentials { get; set; }
    bool EnableSsl { get; set; }
    int Timeout { get; set; }
    Task SendMailAsync(MailMessage message, CancellationToken cancellationToken);
}