Answer the question
In order to leave comments, you need to log in
How to check mx when validating email via annotations?
Greetings!
I had email validation like this in entity:
* @Assert\Email(message = "The email '{{ value }}' is not a valid email.", checkMX = true)
The options "checkMX" do not exist in constraint "Symfony\Component\Validator\Constraints\Email".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question