Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions reference/constraints/Email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ This option defines the pattern used to validate the email address. Valid values
* ``strict`` uses the `egulias/email-validator`_ library (which you must
install separately) for validation according to `RFC 5322`_.

You can also use the class constants of :class:`Symfony\\Component\\Validator\\Constraints\\Email`,
e.g. ``Email::VALIDATION_MODE_STRICT``.

The default value used by this option is set in the
:ref:`framework.validation.email_validation_mode <reference-validation-email_validation_mode>`
configuration option.
Expand Down