8000 Inconsistencies in email validation · Issue #2718 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Inconsistencies in email validation #2718
Closed
@ghost

Description

Hi,

I've found a small big in the email validation that is causing me some grief.

Using a compound email validator, the following email address is considered as valid: foo.@domain.com

However when trying to send an email to this email address using swiftmailer, an exception is thrown with the following message:
Address in mailbox given [foo.@domain.com] does not comply with RFC 2822, 3.6.2.
500 Internal Server Error - Swift_RfcComplianceException

I would expect the SF2 email validation to match the SwiftMailer email validation so these types of issues do not occur.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0