Email harvesters and other bots roam the Internet looking for email addresses to add to lists that target recipients for spam. This trend results in an increasing amount of unwanted email.
Web administrators have come up with clever ways to protect against this by writing out email addresses (i.e., help [at] yourdomain [dot] com) or by using embedded images of the email address. However, you lose the convenience of clicking on the email address to automatically send an email.
By enabling the Below PHP Function Email Address Obfuscation, email addresses on your web page will be obfuscated (hidden) from bots, while keeping them visible to humans. In fact, there are no visible changes to your website for visitors.
// EMAIL ADDRESS OBFUSCATION.
$orginal_string = array(
$replace_string = array(
return str_replace($orginal_string, $replace_string, $string);
= emailObfuscation("firstname.lastname@example.org"); ?>
Now if you check your Source Code the Email Address will show as: