We help IT Professionals succeed at work.

Website Email Link Cloaking with Joomla

Paul Risko
Paul Risko asked
on
I know Joomla 3.x is suppose to have in email cloaking "on" by default but how can you test to see if your email cloaking is working?

Thanks!
Comment
Watch Question

Big MontyWeb Ninja at large

Commented:
have you checked out their documentation?

https://docs.joomla.org/How_to_cloak_email_addresses
Big MontyWeb Ninja at large

Commented:
it's as simple as setting the email address, and then whatever you want it to be seen as:

echo JHtml::_('this is my email', 'email@address.com');
Top Expert 2004
Commented:
>>> how can you test to see if your email cloaking is working?

Look at the source for the rendered page.  If you can't find your email address in it, then the cloaking is working.

Note that this is not looking at the structure of the page through developer's tools or Firebug... I mean look at the actual response sent from the server.

Author

Commented:
So if your view page source and see mailto:youremail@email.com, the cloaking is not working?

Author

Commented:
Big Monty> Yes. I know how to implement it I am looking for how to test it to see if it really works.
Top Expert 2004

Commented:
>>> So if your view page source and see mailto:youremail@email.com, the cloaking is not working?

That is correct.  If it is legible in clear text when viewing the response, then any bot can read it as well.