Fixed: Allow "Pretty" From Address for Email

from radarr f120b84c43
This commit is contained in:
bakerboy448
2021-02-21 10:26:56 -06:00
committed by Qstick
parent 512216cf90
commit 19e0e5d849

View File

@@ -14,7 +14,7 @@ namespace NzbDrone.Core.Notifications.Email
{ {
RuleFor(c => c.Server).NotEmpty(); RuleFor(c => c.Server).NotEmpty();
RuleFor(c => c.Port).InclusiveBetween(1, 65535); RuleFor(c => c.Port).InclusiveBetween(1, 65535);
RuleFor(c => c.From).NotEmpty().EmailAddress(); RuleFor(c => c.From).NotEmpty();
RuleForEach(c => c.To).EmailAddress(); RuleForEach(c => c.To).EmailAddress();
RuleForEach(c => c.CC).EmailAddress(); RuleForEach(c => c.CC).EmailAddress();
RuleForEach(c => c.Bcc).EmailAddress(); RuleForEach(c => c.Bcc).EmailAddress();