Skip to content

ValidEmail needs better diagnosis messages #162

Open
@jace

Description

@jace

In the ValidEmail validator, we return the same error message regardless of what the diagnosis is. There are two situations where this is a problem:

  1. Temporary lookup failure. This is confusing to users, who may try again and find that it works the second time. They should be explicitly asked to do so.

  2. Missing MX record. This is very confusing to users, since they can receive email without MX and don't understand what is wrong. ValidEmail should explicitly point out that MX is missing.

Further, failure on missing MX should be optional and accepted as an init parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions