Skip to content

fix(docs): Fix docs and test about email validation - following API R…#357

Open
klausetgeton wants to merge 1 commit into
mailgun:masterfrom
klausetgeton:master
Open

fix(docs): Fix docs and test about email validation - following API R…#357
klausetgeton wants to merge 1 commit into
mailgun:masterfrom
klausetgeton:master

Conversation

@klausetgeton
Copy link
Copy Markdown

@klausetgeton klausetgeton commented Apr 28, 2023

…EST v4 specs

Hello, this PR just intends to update the docs due to the different response returned from the API REST v4 which is used by the library to individually validate the email address.

{
    "address": "existingemail@realdomain.com",
    "is_disposable_address": false,
    "is_role_address": false,
    "reason": [],
    "result": "deliverable",
    "risk": "low"
}
{
    "address": "foo@mailgun.net",
    "did_you_mean": null,
    "is_disposable_address": false,
    "is_role_address": true,
    "is_valid": true,
    "mailbox_verification": "true",
    "parts": {
        "display_name": null,
        "domain": "mailgun.net",
        "local_part": "foo"
    }
}

Please let me know if there is something I could do better and clarify.

Thanks in advance!

Best regards, Klaus.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant