Brian Dunning's FileMaker Custom Functions

IsValidEmail ( theEmail )

Determines if a supplied email address is valid or not

  Average rating: 3.6 (68 votes) Log in to vote

Paul Turnbull   Paul Turnbull - Show more from this author
One of Me

Share on Facebook Share on Twitter

  Sample input:
IsValidEmail ( "" )
  Sample output:

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Takes a text string a checks to see if it is a valid email address. Includes a value list of over 260 Top Level Domains that are checked against. If the string is not a valid address it returns an explanation of the why the test failed.

Will not handle urls in the form "" although you could edit to handle this if you like.

Edited 11/13/05 - fixed bugs.



Benka   Benka, Rennes, France
Jun 3, 2009
Hello Paul,

Thank you for the function.

Little bug :

ééééé return true

text return true return true
Benka   Benka, Rennes, France
Jun 3, 2009
text return true
Jamie Thompson, Computech IT Services Ltd.   Jamie Thompson, Computech IT Services Ltd., Plymouth, UK
Mar 10, 2011
Great function. However, he ampersand (&) is a valid character in an email address.
Marc   Marc, San Diego, CA
Mar 11, 2011
Naming the function "IsValidEmail" in FileMaker 11 conflicts with an internal existing function name.

Maybe rename to "IsThisValidEmail"?
Anyway, thank you and I like this function very much.

Log in to post comments.


Note: these functions are not guaranteed or supported by Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 16 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: