Skip to content

Error on smpt #77

@SossenSystems

Description

@SossenSystems

While I was testing something, I discovered that there was a problem with Outlook / Hotmail addresses. Here's an example, the username of the email is random so as not to leak a private email.

import { validate } from 'deep-email-validator'
const main = async () => {
    let res = await validate({
        email: '[email protected]'
    })
    console.log(res)
}

main()

Response:

{
  valid: false,
  validators: {
    regex: { valid: true },
    typo: { valid: true },
    disposable: { valid: true },
    mx: { valid: true },
    smtp: { valid: false, reason: 'Mailbox not found.' }
  },
  reason: 'smtp'
}

The problem is directly in [****](smtp: { valid: false, reason: 'Mailbox not found.' })
The mailbox exists, but it is said here that it does not exist. I have been able to determine that with Outlook and Hotmail addresses so far that it is not displayed correctly.

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