Git Product home page Git Product logo

email-checker's People

Contributors

tintnaingwinn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

email-checker's Issues

The each() function is deprecated

` $mxs[$hosts[$n]] = $mxRecords[$n];
}

    asort($mxs);

    array_push($mxs, $this->domain);

    $timeout = $this->max_conn_time/(count($hosts)>0 ? count($hosts) : 1);

    // connect to SMTP
    while(list($host) = each($mxs))
    {
        if ($this->socket = @fsockopen($host, $this->port, $errno, $errstr, (float) $timeout))
        {
            stream_set_timeout($this->socket, $this->max_read_time);
            break;
        }
    }

    if ($this->socket)
    {
        $reply = fread($this->socket, 2082);

        preg_match('/^([0-9]{3})/ims', $reply, $matches);
        $code = isset($matches[1]) ? $matches[1] : '';`

The validation does not interrupt the registration when the email is non-existent (fake)

Hello. I'm having a problem using the package. Although adding "email_checker" in the rules for validation of the email field, the registration is still accepted when the email is non-existent and the data is registered in the database. The other validation rules: email, require, max, and unique work normally. The installation of the package was done correctly by adding the Facade and the Provider. I would be grateful for a response to the problem. Follow the code of the rule in the Registration Request:

    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            'email' => 'bail|required|email|max:255|unique:users|email_checker',
            'identificador' => 'required|cpf_cnpj|unique:users,identificador',
            'password' => [
                'confirmed',
                'required',
                'regex:/[a-zA-Z]/',
                'regex:/[0-9]/',
                'min:8'
            ],
            'tipo' => 'required|size:1|alpha',
        ];
    }

validation return false with gmail

hello, i'm using this email-checker on my controller but always return false

use Tintnaingwin\EmailChecker\Facades\EmailChecker;

public function checkEmail($input)
{
    return response()->json(EmailChecker::check($input));
}

i'm looking for your help, thanks

email validation returning false in live server

Hi,

We are using this package. it is working well in local and our test and stage domains. But one of our client email not verifying in live server even it was exist. If we check same email in local and test and stage servers it is returning true.

What will be the problem? could you please help on this

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.