Skip to content

[Validator] Change default mode of Assert\Email to "strict", for consistency with Mailer #41855

Closed
@ThomasLandauer

Description

@ThomasLandauer

Description
Since Symfony Mailer is using egulias/email-validator to validate email addresses, I'm suggesting to make this the default for Assert\Email.

Why? When using a framework to let users enter their email address, my minimum expectation would be that the very same framework is able to send an email there ;-) In other words: Symfony needs to stay consistent.

See #41850 for an example I encountered in production - but I'm sure there are better ones ;-)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions