Skip to content

always return true #32

Open
Open

Description

@Grald

i am using laravel 5.2 always return true even if wrong email address provided

Activity

  1. MattKetmo commented on Oct 6, 2016

    @MattKetmo
    Owner

    /ping @olsgreen ;)

  2. olsgreen commented on Oct 6, 2016

    @olsgreen
    Contributor

    @Grald Are you using the validator or trying to use it via DI or a facade?

  3. josephsong commented on Apr 21, 2017

    @josephsong

    I'm seeing this, too, in Laravel. I've tried using it via DI and by plain instantiation (new EmailChecker).

  4. olsgreen commented on Apr 21, 2017

    @olsgreen
    Contributor

    @josephsong Which version of Laravel are you using?

  5. josephsong commented on Apr 21, 2017

    @josephsong

    Actually, Lumen v5.3.3.

  6. josephsong commented on Apr 21, 2017

    @josephsong

    Well, it is funny. If I use yopmail.com as the domain for the test email, it does return false on the isValid call. But for any others I've tried from the list in this package, it still returns true.

  7. josephsong commented on Apr 21, 2017

    @josephsong

    It seems that any of the domains in tests/EmailChecker/Tests/Adpater/BuiltInAdapterTest.php do come back as false. But any others in res/throwaway_domains.txt come back as true.

    I had just successfully implemented this package in WordPress, and all domains in the throwaway_domain.txt are marked as invalid. Seems to be something specific to Laravel/Lumen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions