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

gmail.* does not get corrected to gmail.com #151

Open
reenko opened this issue May 16, 2017 · 7 comments
Open

gmail.* does not get corrected to gmail.com #151

reenko opened this issue May 16, 2017 · 7 comments

Comments

@reenko
Copy link

reenko commented May 16, 2017

Failed test case:
expect(mailcheck.suggest('test@gmail.fr', domains).domain).toEqual('gmail.com');

@szepeviktor
Copy link

gmail.hu does not belong to Google.

@reenko
Copy link
Author

reenko commented Aug 17, 2017

@szepeviktor In Russia we have gmail.ru, not google service too, it's fake services. And we have many typos with it.

@szepeviktor
Copy link

It may not be active: https://toolbox.googleapps.com/apps/dig/#MX/gmail.ru

But in Hungary many people use gmail.hu, so there are user@gmail.hu addresses.

@reenko
Copy link
Author

reenko commented Aug 17, 2017

I think that good idea for fix it it's black list or map for "strong" case.

@simeyla
Copy link

simeyla commented Jan 1, 2019

What's wrong with gmail.fr? I have customers using this address.
Why would you want to convert it to .gmail?

@szepeviktor
Copy link

Note: gmail.fr has no MX record

@ferreiro
Copy link

Disclaimer: This library is no longer maintained.

I rewrote it entirely and update it for 2022 and onward: https://github.com/ZooTools/email-spell-checker

  • 💙 Written in TypeScript and removed jQuery
  • ✅ Fixed a couple of bugs like this or this
  • 🚀 Reduced bundle size to <2KB.

  • ✨ Update TLDs (69+) and added modern startup domains (like .io, .so, .xyz or .dev)
  • 🙏 Implemented suggestions that people made in this repo that were ignored.

Link: https://github.com/ZooTools/email-spell-checker

Come check it out and give it a ⭐️ for the effort.

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

4 participants