You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ValidateEmail function provided below utilizes the govalidator.IsExistingEmail() function to validate email addresses. However, using this function can cause issues with the validation of GitHub Primary email addresses, such as "127432579+czqu@users.noreply.github.com". This is because the govalidator.IsExistingEmail() function attempts to verify if the domain can be reached, by performing a check using the net.LookupMX(host) and net.LookupIP(host) functions.
This domain verification check can fail for certain email addresses that are valid, such as the aforementioned GitHub Primary email address. This is because the "users.noreply.github.com" domain cannot be resolved using the net.LookupIP(host) function. As a result, using the govalidator.IsExistingEmail() function in this context may lead to false negatives and result in valid email addresses being rejected.
The ValidateEmail function provided below utilizes the govalidator.IsExistingEmail() function to validate email addresses. However, using this function can cause issues with the validation of GitHub Primary email addresses, such as "127432579+czqu@users.noreply.github.com". This is because the govalidator.IsExistingEmail() function attempts to verify if the domain can be reached, by performing a check using the net.LookupMX(host) and net.LookupIP(host) functions.
This domain verification check can fail for certain email addresses that are valid, such as the aforementioned GitHub Primary email address. This is because the "users.noreply.github.com" domain cannot be resolved using the net.LookupIP(host) function. As a result, using the govalidator.IsExistingEmail() function in this context may lead to false negatives and result in valid email addresses being rejected.
The text was updated successfully, but these errors were encountered: