collective / Products.EasyNewsletter

Powerful newsletter/mailing product for Plone.
https://pythonhosted.org/Products.EasyNewsletter/
GNU General Public License v2.0
28 stars 23 forks source link

Incorrect email regular expression #159

Closed pabo3000 closed 3 years ago

pabo3000 commented 4 years ago

An email address with a long top level domain leads to an error.

Example: bob@example.hamburg

The regular expression in the config.py lets only pass top level domains less or equal 6 chars.

mck9 commented 4 years ago

email addresses should be checked with "validate_email" from "email_validator" module. Why is there an regexp?

MrTango commented 4 years ago

because this add-on is older than the email_validator and so is the regex ;). But we could switch to it, PR welcome.

mck9 commented 4 years ago

I am cleaning up old and not used code currently. I f come by I will make a PR for you.

MrTango commented 3 years ago

any news? I'll make a final release in the next days.