-
Notifications
You must be signed in to change notification settings - Fork 43
Long email addresses are false negatives #13
Comments
This is an important issue because of the reliance on this library by the very popular Nodemailer (https://github.com/andris9/Nodemailer) library. So it's very common for these email addresses to be encountered. See https://github.com/andris9/smtp-connection/issues/32 |
They are flagged because the local part is too long. RFC 5321 allows only 64 octets: |
Ok, thanks. Is there a way to configure this library to ignore that specific part of the RFC? |
Unfortunately, that particular violation of 5321 assigns the email address a relatively high In this case, I don't know there's a lot we can do because Nodemailer shouldn't really allow sending emails with email addresses that might not make it through SMTP nodes. I'd recommend reaching out to GitHub and Asana directly. |
Thanks @skeggse @gergoerdosi . Makes sense. I'll talk to the maintainer of nodemailer and see if we can work out a bypass. |
If you have a better idea for error handling, I'm all ears. |
Why are long auto-reply email addresses flagged as not being an email? These are very common. The two addresses below are from auto-generated Github and Asana emails:
The text was updated successfully, but these errors were encountered: