{"id":802,"date":"2011-02-06T14:11:14","date_gmt":"2011-02-06T22:11:14","guid":{"rendered":"https:\/\/daveworks.net\/web-design-development-tips\/?p=802"},"modified":"2011-04-01T21:40:30","modified_gmt":"2011-04-02T04:40:30","slug":"do-not-put-your-email-address-on-your-website","status":"publish","type":"post","link":"https:\/\/daveworks.net\/web-design-development-tips\/web-development\/do-not-put-your-email-address-on-your-website\/","title":{"rendered":"Do NOT Put Your Email Address on Your Website"},"content":{"rendered":"<h2>WTF&#8230; Why?<\/h2>\n<p><img decoding=\"async\" class=\"lazyload alignright size-full wp-image-829\" title=\"No Spam!\" src=\"https:\/\/daveworks.net\/web-design-development-tips\/wp-content\/uploads\/no-spam.png\" data-orig-src=\"https:\/\/daveworks.net\/web-design-development-tips\/wp-content\/uploads\/no-spam.png\" alt=\"No Spam image\" width=\"240\" height=\"240\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27240%27%20height%3D%27240%27%20viewBox%3D%270%200%20240%20240%27%3E%3Crect%20width%3D%27240%27%20height%3D%27240%27%20fill-opacity%3D%220%22%2F%3E%3C%2Fsvg%3E\" data-srcset=\"https:\/\/daveworks.net\/web-design-development-tips\/wp-content\/uploads\/no-spam-200x200.png 200w, https:\/\/daveworks.net\/web-design-development-tips\/wp-content\/uploads\/no-spam.png 240w\" data-sizes=\"auto\" data-orig-sizes=\"(max-width: 240px) 100vw, 240px\" \/>Just a reminder to *NEVER* put your email address on your website.  (or on any site that is indexed, even twitter, stumbleupon, etc.) It might seem a little crazy, but understand that putting an email address (linkable or not) on a searchable website means <strong>you&#8217;re also allowing it to be &#8220;farmed&#8221; by spammers<\/strong> and attendant apps to grab and use or even sell your valid email addresses to other spammers who would send you all of that lovely unwanted email.<\/p>\n<p><!--more Read More About Why You Shouldn't Put Your Email Address on Your Site--><\/p>\n<p>Even if you protect that email address with code to prevent it from being farmed,<em> (examples below)<\/em> problems can still arise.  If user clicks on an email link it invoke an email application to generate an email&#8230; which of course is what you&#8217;re looking to do.  BUT, it doesn&#8217;t always work out that way.  You can&#8217;t prevent the fact that some folks don&#8217;t have their email client (application)  or their browser&#8217;s security settings configured correctly.  There are a multitude of errors that can surface&#8230; and if that&#8217;s the case why bother?  The last thing you should chance is having a potential customer browse away from your site because they can&#8217;t contact you.<\/p>\n<h2>What to do?<\/h2>\n<p>Create a form that sends you a stealth email or updates a database that does the same thing. Your customer can feel comfortable in contacting you and you won&#8217;t have your email address snagged.<\/p>\n<p><strong><em>If for some reason you feel that you MUST put your email address on your site, (sometimes clients insist)  then at least protect it. <\/em><\/strong><\/p>\n<h2>Here are a couple of examples of ways to protect your email address:<\/h2>\n<ul>\n<li><strong>Just write it out<\/strong><\/li>\n<\/ul>\n<p><span style=\"color: #333399;\">dave at daveworks dot net <\/span>(not pretty, but maybe fun &#8211; yeah, put people to work figuring it out.)<\/p>\n<ul>\n<li><strong>HTML work around:<\/strong><\/li>\n<\/ul>\n<p>(using hidden html, the code for &#8220;@&#8221; symbol is &#8220;&amp;#64;&#8221;)<\/p>\n<p><span style=\"font-size: 15px;\"><span style=\"color: #333399;\"> &lt;a href=&#8221;mailto:myname&amp;#64;mydomain.com&#8221;&gt;Send me an email&lt;\/a&gt;<\/span><\/span><\/p>\n<ul>\n<li><strong>Javascript work around:<\/strong><\/li>\n<\/ul>\n<p><span style=\"color: #333399;\">emailAddy=(&#8216;yourname@&#8217; + &#8217;emailserver.com&#8217;)<br \/>\ndocument.write(&#8216;&lt;a href=&#8221;mailto:&#8217; + emailAddy + &#8216;&#8221;&gt;&#8217;+ emailAddy + &#8216;&lt;\/a&gt;&#8217;)<\/span><\/p>\n<p>There are many more ways to protect your email address (I prefer using php) but for simplicity&#8217;s sake I&#8217;m just including the aforementioned.  If there are many comments requesting more solutions, I&#8217;ll post them&#8230;. but I want to get ready to watch the Super Bowl right now.  =)<\/p>\n<p>Hoping that this article helps eliminate spam in the world for you and yours!<\/p>\n<p>Cheers,<br \/>\n\/\/Dave<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WTF&#8230; Why? Just a reminder to *NEVER* put your email&hellip; <a class=\"continue\" href=\"https:\/\/daveworks.net\/web-design-development-tips\/web-development\/do-not-put-your-email-address-on-your-website\/\">Continue Reading<span> Do NOT Put Your Email Address on Your Website<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,70],"tags":[123,122],"class_list":["post-802","post","type-post","status-publish","format-standard","hentry","category-web-development","category-web-tips-and-tricks","tag-prevent-spam","tag-prevent-your-email-address-from-being-farmed-by-spammers"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/posts\/802","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/comments?post=802"}],"version-history":[{"count":40,"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/posts\/802\/revisions"}],"predecessor-version":[{"id":907,"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/posts\/802\/revisions\/907"}],"wp:attachment":[{"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/media?parent=802"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/categories?post=802"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daveworks.net\/web-design-development-tips\/wp-json\/wp\/v2\/tags?post=802"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}