mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* Make wallet able to send to multiple destinations * fix tests * update e2e tests * fix e2e part 2 * make headless again * pr changes * make wallet look exactly as old one when only 1 dest
14 lines
479 B
C#
14 lines
479 B
C#
using System.Text.Encodings.Web;
|
|
using BTCPayServer.Services.Mails;
|
|
|
|
namespace BTCPayServer.Services
|
|
{
|
|
public static class EmailSenderExtensions
|
|
{
|
|
public static void SendEmailConfirmation(this IEmailSender emailSender, string email, string link)
|
|
{
|
|
emailSender.SendEmail(email, "Confirm your email",
|
|
$"Please confirm your account by clicking this link: <a href='{HtmlEncoder.Default.Encode(link)}'>link</a>");
|
|
}
|
|
}
|
|
}
|