refactor(notification-outbox): extract EmailAddressValidator helper, drop orphaned using

This commit is contained in:
Joseph Doherty
2026-05-19 03:39:05 -04:00
parent 5e80f64cd8
commit 4b61e29e27
4 changed files with 41 additions and 32 deletions

View File

@@ -91,7 +91,7 @@ public sealed class EmailNotificationDeliveryAdapter : INotificationDeliveryAdap
// A malformed sender or recipient address cannot be fixed by retrying —
// surface it as a permanent failure (mirrors NS-008).
var addressError = NotificationDeliveryService.ValidateAddresses(
var addressError = EmailAddressValidator.ValidateAddresses(
smtpConfig.FromAddress, recipients);
if (addressError != null)
{