Fixed: Allow "Pretty" From Address for Email

Fixes #5497
pull/5710/head
Qstick 4 years ago
parent 88ec106ec6
commit f120b84c43

@ -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();

Loading…
Cancel
Save