mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-24 01:14:20 +01:00
Add invite and confirmation emails
This commit is contained in:
@@ -8,7 +8,7 @@ using MimeKit;
|
||||
namespace BTCPayServer
|
||||
{
|
||||
/// <summary>
|
||||
/// Validate address in the format "Firstname Lastname <blah@example.com>" See rfc822
|
||||
/// Validate address in the format "Firstname Lastname <blah@example.com>" See rfc5322
|
||||
/// </summary>
|
||||
public class MailboxAddressValidator
|
||||
{
|
||||
@@ -25,7 +25,7 @@ namespace BTCPayServer
|
||||
public static MailboxAddress Parse(string? str)
|
||||
{
|
||||
if (!TryParse(str, out var mb))
|
||||
throw new FormatException("Invalid mailbox address (rfc822)");
|
||||
throw new FormatException("Invalid mailbox address (rfc5322)");
|
||||
return mb;
|
||||
}
|
||||
public static bool TryParse(string? str, [MaybeNullWhen(false)] out MailboxAddress mailboxAddress)
|
||||
|
||||
Reference in New Issue
Block a user