email-check
email-check copied to clipboard
Async Node JS module to check if an email address exists
In the fisrt email regex validation, emails that have '+' sign are invalid. this a valid email address : '[email protected]' I think the regex should be more like this: `(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])`...
Hi! I`ve always caught this error... ``` (node:6500) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: refuse (node:6500) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections...
I don't know what different mail servers think about email-chekers and I don't want to get block of them. Do you can help to understand, how to use IP proxy...
Change from `\n` to `\r\n` to coincide with the [spec](https://www.rfc-editor.org/rfc/rfc2821#section-2.3.7). For example Microsoft Outlook exchange server doesn't respond if `\n` line endings are used instead of `\r\n`.