Giter VIP home page Giter VIP logo

email-check's Issues

Remove miam.kd2.org

Hi,

please remove miam.kd2.org from your "domainsTemporary.php" file as it is our internal email server, and is not publicly accessible, and does not provide temporary emails either.

Thank you.

DNS error check only MX Record ?

Wouldn't it be a viable case for a valid email with a correct MX record, but no A-record? Email will be received that way.

It's an edge case, but wouldn't it be more correct to change
return !\checkdnsrr($domain . '.', 'MX') || !\checkdnsrr($domain, 'A');
to
return !\checkdnsrr($domain . '.', 'MX');

in the code here ?

Make Punycode conversion optional

What is this feature about (expected vs actual behaviour)?

Currently, the isValid callback always converts the local and domain part into Punycode.

However, lots of environments don't support Punycode and we'd like to validate email addresses such that special characters like German umlauts or other accented character would be recognized as invalid.

I'll be posting a PR in a minute to fix this.

Does it take minutes, hours or days to fix?

Minutes.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

composer
composer.json
  • php >=7.0.0
  • symfony/polyfill-intl-idn ~1.10
  • phpunit/phpunit ~6.0 || ~7.0
  • fzaninotto/faker ~1.7

  • Check this box to trigger a request for Renovate to run again on this repository

Copyright notice?

It looks like you have taken Michael Rushton's regex pattern as used in PHP, but you forgot to add the copyright notice?

 * Michael's regex carries this copyright:

523 *
524 * Copyright © Michael Rushton 2009-10
525 * http://squiloople.com/
526 * Feel free to use and redistribute this code. But please keep this copyright notice.

Returns valid when Null MX record is set

What is this feature about (expected vs actual behaviour)?

RFC 7505 specifies "null MX" for when a domain explicitly does not support email.

Even if a null MX record is set this check will still return that the address is valid.

How can I reproduce it?

$emailCheck = EmailCheck::isValid("[email protected]", false, false, false,  true);

// expected false
// got true

Does it take minutes, hours or days to fix?

In isDnsError instead of using checkdnsrr it could use dns_get_record and then check the priority.

Any additional information?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.