mfbx9da4 / deep-email-validator

Validates regex, typos, disposable, dns and smtp
MIT License
861 stars 87 forks source link

Error on smpt #77

Open SossenSystems opened 11 months ago

SossenSystems commented 11 months ago

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: 'boss123@outlook.com'
    })
    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.

LuleDev commented 9 months ago

I'm having the same issue with this, the issue is Spamhaus (it's the spam solution that Outlook uses), and as soon as they flag your ip you are basically done for. https://check.spamhaus.org/ you can check if your ip is okay here, i still dont have a solution for this issue tho