We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have this error that appears in our logs:
{\"eventErrorEntityType\":\"INVALID_EMAIL_ADDRESS\",\"status\":\"error\",\"message\":\"invalid email: [email protected]\",\"correlationId\":\"e24c657a-36a6-4885-84dc4ab8111e3123\",\"invalidEmail\":\"[email protected]\",\"eventErrorEntityType\":\"INVALID_EMAIL_ADDRESS\"}"
It would be nice if the gem can provide a valid? method that uses the same regex Hubspot uses to check the validity of an email address.
valid?
Standard regexes like this one: VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/I doesn't the kind of issues Hubspot catches.
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/I
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We have this error that appears in our logs:
It would be nice if the gem can provide a
valid?
method that uses the same regex Hubspot uses to check the validity of an email address.Standard regexes like this one:
VALID_EMAIL_REGEX = /\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/I
doesn't the kind of issues Hubspot catches.
The text was updated successfully, but these errors were encountered: