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

Option to not allow UTF8 addresses #35

Closed
dbackeus opened this issue Sep 12, 2016 · 2 comments
Closed

Option to not allow UTF8 addresses #35

dbackeus opened this issue Sep 12, 2016 · 2 comments

Comments

@dbackeus
Copy link

dbackeus commented Sep 12, 2016

Since the mail gem used by ActionMailer etc doesn't support UTF8 addresses (mikel/mail#1014) could be nice have them invalidated.

@travisbell
Copy link

Just adding a vote for this as well. I use Amazon SES for all of my emailing and SES (apparently) adheres to RFC 5322 and 5321 which does not allow any alpha characters but [A-Za-z]. I've monkey patched the regex for my local usage but it would be nice to have a setting to make it more broadly available.

My reference for SES: https://forums.aws.amazon.com/thread.jspa?threadID=210804

@balexand
Copy link
Collaborator

balexand commented Mar 2, 2019

I'm moving to a looser validation in version 2.0. See #49 and the new README for an explanation. If you need stricter validation then I suggest using a different gem. If there's one you like then open an issue here to let me know and I'll link to it in the README. Thanks!

@balexand balexand closed this as completed Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants