mirror of
https://github.com/Radarr/Radarr
synced 2026-01-01 13:13:12 +01:00
parent
88ec106ec6
commit
f120b84c43
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ public EmailSettingsValidator()
|
|||
{
|
||||
RuleFor(c => c.Server).NotEmpty();
|
||||
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.CC).EmailAddress();
|
||||
RuleForEach(c => c.Bcc).EmailAddress();
|
||||
|
|
|
|||
Loading…
Reference in a new issue