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

Validate email address #4

Open
matthiaswh opened this issue Jul 9, 2020 · 0 comments · May be fixed by #7
Open

Validate email address #4

matthiaswh opened this issue Jul 9, 2020 · 0 comments · May be fixed by #7

Comments

@matthiaswh
Copy link
Contributor

matthiaswh commented Jul 9, 2020

https://documentation.mailgun.com/en/latest/api-email-validation.html#email-validation


Email validation with Mailgun requires a monthly plan (i.e. not pay as you go). It is probably good enough to have a built in validator that checks against a regex.

It might also be helpful to have a 'likely invalid' check that looks for misspellings of common email providers / TLDs. E.g. there are a fair number of @gmaol.com and @example.con that would pass validation, but are clearly typos.

Add a public mail.validate() method that can be called prior to attempting to send an email.

@matthiaswh matthiaswh changed the title Validate email address with Mailgun Validate email address Sep 9, 2020
tjlevel12 added a commit that referenced this issue Sep 9, 2020
tjlevel12 added a commit that referenced this issue Sep 9, 2020
@tjlevel12 tjlevel12 linked a pull request Sep 9, 2020 that will close this issue
tjlevel12 added a commit that referenced this issue Feb 2, 2021
 * Extract suggestions method to allow developer access to suggestions
 * Expand test coverage
 * Remove unused import
 * Update the readme

Refs GH-4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant