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

Regex test for email rejects correct mailbox addresses, and accepts incorrect addresses. #91

Open
gene-hightower opened this issue Mar 18, 2024 · 1 comment

Comments

@gene-hightower
Copy link

The syntax for mailbox addresses used by the SMTP protocol is defined by RFC-5321. (NOT RFC-5322, as is often mistakenly thought.)

The whatwg HTML spec seems to get this wrong, see whatwg/html#4562 (comment)

For test cases please see
https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/main/tests/draft2020-12/optional/format/email.json

@gene-hightower
Copy link
Author

For more information regarding this issue, see https://digilicious.com/mailbox-address-syntax.html

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

No branches or pull requests

1 participant