Email address with international (non-english) characters?
saintego opened this issue · 0 comments
saintego commented
Bug report
Describe the bug
I got error: Invalid "to" email address with value "mxxxáčxxxá@gmail.com". Seems that email with characters like áč should be valid on last place before "@" by RFC 6532. Services like gmail are accepting it also and many validators too, like https://www.npmjs.com/package/@sparser/email-address-parser.
Steps to reproduce the behavior
- Try to send template ti address with characters like áč
- See error
Expected behavior
I accept that there will be no error
Screenshots
If applicable, add screenshots to help explain your problem.
Code snippets
isValidEmail in strapi-plugin-email-designer/server/services/email.js should allow to use special characters on last place before @