No, this is not at all safe. You are still exposing your email address on the page. Some dumb spiders end up embarrassed, but those that are up to date can definitely "decode" these objects quickly. The only solution is ... not to publish the email address at all. If you use a contact form with recipients to be selected by users, use identifiers and look for them in your code. If you need to show the image of the email - to show, but if someone wants you to contact their spam database, then he can always put it manually.
source
share