Skip to content

Commit 0ca1cfe

Browse files
authored
make it more clear what is happening with email RFC validation (#10340)
1 parent 0adcedc commit 0ca1cfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1506,8 +1506,8 @@ The example above will apply the `RFCValidation` and `DNSCheckValidation` valida
15061506

15071507
<div class="content-list" markdown="1">
15081508

1509-
- `rfc`: `RFCValidation` - Validate the email address according to RFC 5322.
1510-
- `strict`: `NoRFCWarningsValidation` - Validate the email according to RFC 5322, rejecting trailing periods or multiple consecutive periods.
1509+
- `rfc`: `RFCValidation` - Validate the email address according to [supported RFCs](https://github.com/egulias/EmailValidator?tab=readme-ov-file#supported-rfcs).
1510+
- `strict`: `NoRFCWarningsValidation` - Validate the email according to [supported RFCs](https://github.com/egulias/EmailValidator?tab=readme-ov-file#supported-rfcs), failing when warnings are found (e.g. trailing periods and multiple consecutive periods).
15111511
- `dns`: `DNSCheckValidation` - Ensure the email address's domain has a valid MX record.
15121512
- `spoof`: `SpoofCheckValidation` - Ensure the email address does not contain homograph or deceptive Unicode characters.
15131513
- `filter`: `FilterEmailValidation` - Ensure the email address is valid according to PHP's `filter_var` function.

0 commit comments

Comments
 (0)