Brian Dunning's FileMaker Custom Functions

encodeEmail ( email ; rName )

Encode HTML mailto link as hexadecimal string

  Average rating: 4.1 (36 votes) Log in to vote

Hunter Chisholm   Hunter Chisholm - Show more from this author
Protean Solutions, LLC

Share on Facebook Share on Twitter

  Sample input:
encodeEmail ( "" , "Jane Elizabeth" )
  Sample output:

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

When generating web pages from a database this function will convert the email address portion of the mailto link into a hexadecimal string. While not 100% affective in stopping the harvesting of email addresses, it reduces it considerably.

Numbers in email addresses are not encoded.



Anna Villa   Anna Villa, USA
Mar 27, 2009


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 15 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: