How do I correct an invalid email?

Sometimes a user passes an invalid email address to me such as

testemail@gmail.com3 or
testemail@gmail.con

How can I correct those instances to properly say .com?

Hi @Zach_Rucker

Technically speaking both of the above email ids are having a valid format (although they do not exist)

As such I believe what you are actually looking for is an email verification process?

One solution would be to use the ZeroBounce’s Make module

If however you know the email domains your user’s are going to be entering eg Gmail, Yahoo etc etc…you could then simply use regex to filter out the email which do not have a proper domain

Hope this helps!

1 Like

As said in a previous answer, you can use some service like:

Or knowing the domain you have to validate (@gmail.com ; @yahoo.com.br @hotmail.com; etc) you can use regex.

image

1 Like