Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[email protected] marked as invalid, but should be valid according to RFC 2822 #316

Open
FranzBruckner opened this issue Mar 2, 2022 · 2 comments

Comments

@FranzBruckner
Copy link

FranzBruckner commented Mar 2, 2022

A dot before @ ([email protected]) will be marked as invalid.

Browsers (Chrome) and Symfony Validators mark them as valid too.

  • The Symfony-Validator can be configured to use "HTML5" or "Strict" Validation. Strict uses this validator
  • Browsers use "HTML5" Validation

Nevertheless...
As far as I can tell, according to RFC 2822 it should be valid.

@egulias
Copy link
Owner

egulias commented Apr 2, 2022

Hi, can you refer to the part of the RFC that make this valid?

@smirgol
Copy link

smirgol commented May 5, 2022

I also got irritated by this, since I know someone who has an email address where the local part ends with "." and I never had issues sending/receiving mails to/from him. But, looks like it's indeed not valid according to RFC3696 At the end of that page it reads:
period (".") may also appear, but may not be used to start or end the local part

But, I'm not expert in this matter at all. There might be another RFC that is overruling this one, I have no idea. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants