mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
c2d72e71aa
* Store Emails * fix test * Update email rules layout * Cleanups * Test cleanups * Add back comments * Update view; add test * Show email rules link even if email settings aren't completed * Validate email addresses * No redirect, display warning * Fix test * Refactoring: Change email argument types to MailAddress * Test fix * Refactoring: Use MailboxAddress * Parse emails properly in controllers and backend Co-authored-by: Dennis Reimann <mail@dennisreimann.de> Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
11 lines
305 B
C#
11 lines
305 B
C#
using MimeKit;
|
|
|
|
namespace BTCPayServer.Services.Mails
|
|
{
|
|
public interface IEmailSender
|
|
{
|
|
void SendEmail(MailboxAddress email, string subject, string message);
|
|
void SendEmail(MailboxAddress[] email, MailboxAddress[] cc, MailboxAddress[] bcc, string subject, string message);
|
|
}
|
|
}
|