| 658 | // ***** Endpoint for ValidatorEmail Deprecated emails valid ***** |
| 659 | C_ATTR(emailDeprecatedValid, :Local :AutoArgs) |
| 660 | void emailDeprecatedValid(Context *c) |
| 661 | { |
| 662 | Validator v({new ValidatorEmail(u"field"_s, |
| 663 | ValidatorEmail::Deprecated, |
| 664 | ValidatorEmail::NoOption, |
| 665 | m_validatorMessages)}); |
| 666 | checkResponse(c, v.validate(c, Validator::NoTrimming | Validator::BodyParamsOnly)); |
| 667 | } |
| 668 | |
| 669 | // ***** Endpoint for ValidatorEmail CFWS conformant emails invalid ***** |
| 670 | C_ATTR(emailDeprecatedInvalid, :Local :AutoArgs) |