mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
16 lines
501 B
C#
16 lines
501 B
C#
#nullable enable
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Logging;
|
|
using BTCPayServer.Services;
|
|
|
|
namespace BTCPayServer.Plugins.Emails.Services;
|
|
|
|
class ServerEmailSender(SettingsRepository settingsRepository,
|
|
IBackgroundJobClient backgroundJobClient,
|
|
EventAggregator eventAggregator,
|
|
Logs logs) : EmailSender(backgroundJobClient, eventAggregator, logs)
|
|
{
|
|
public override Task<EmailSettings?> GetEmailSettings()
|
|
=> settingsRepository.GetSettingAsync<EmailSettings>();
|
|
}
|