eBook authors eBook Software - create and publish your own ebooks
Create your own eBooks
 
   
EBookApprentice.com
Learn How To Create, Publish & Market E-Books
 
   
EBookCompiler.com
E-Book Creation Software
 
   
EBookPower.com
Add sophisticated multimedia to your E-Books
 
   
CoverFactory.com
Create E-Book covers in minutes
 
 
  EBookSubmit.com
E-Book Marketing & Promotion made easy
 
  EBookJungle.com
Search engine for E-Books
 
  EBookInterviews.com
Interviews with eBook authors
 
  EBookEnhance.com
Tools for building better eBooks
 
 
 
Archived Message:

Spam free e-mail

 »Stop e-mail spam
 
rlemire Fellow authors;

If you get a lot of e-mail spam, you might not be aware that email spammers frequently use e-mail "bots" that search online documents for typical email links. Information collected by these bots are usually shared or sold to fellow spammers.

There are a number of ways to prevent these e-mail bots from collecting data from your e-mail links. The easiest way is to "break-up" this data into smaller 'chunks' that will be ignored by the bots. This 'chunky' data is then re-assembled and displayed using (document.write) script code. Variations of this idea can be found on Google.

However I'd like to show you a unique way to use this information.

One of the problems I have is that I have a large number of different web sites and documents with contact email information. After spammers get hold of my current e-mail address and start to flood my server I usually need to change my e-mail address and start fresh. To be effective, I also want to block the old address. However changing all of my documents to the new e-mail address is difficult and time consuming.

To solve this problem I've created an external JavaScript (.js) file that I save on my server. It's assembled e-mail structure would look like "myname@myserver.com" and the code would be entered as...
[font=monospace]
var [color=blue]first[/color] = "myname";
var [color=blue]last[/color] = "myserver";
var [color=blue]tag[/color] = "com";
var [color=blue]mymail[/color] = ([color=blue]first[/color]+"@"+[color=blue]last[/color]+"."+[color=blue]tag[/color])
[/font]

This code is saved to my web server as a file called "myEmail.js"

Next I add the following code (to access myEmail.js) in the "Header" section of all my documents.

<script src="http://myserver.com/myEmail.js" type="text/javascript"></script>


Then I write the following code in the document where I want to display the e-mail link.

<script language=javascript>
document.write("<a href=" + "mail"+ "to:"+ [color=blue]mymail[/color] + ">" + [color=blue]mymail[/color] + "</a>" );
</script>

NOTE to display a [color=green] regular text message[/color] the main code line could be;

document.write("<a href=" + "mail"+ "to:"+ [color=blue]mymail[/color] + ">" + "[color=green] email me [/color]" + "</a>" );

NOTE for an image you could use;

document.write("<a href=" + "mail"+ "to:"+ [color=blue]mymail[/color] + "><img src='Images/email.gif' width='70' height='20' border='0'></a>" );


Basically when each web page opens it automatically connects to the "myEmail.js" file and loads the variable "mymail". this variable is then used to construct a proper email link. The beauty of this system is that now I only need to change the email address information in one place. For example change the variable "[color=blue]first[/color]" from "myname" to "mynewname" in the (myEmail.js) file.

I hope you find this idea helpful...

rlemire


Posted on: 10:19 pm on February 3, 2008
corine88 this idea is quite helpful for me... thx...

corine


Posted on: 2:12 pm on December 4, 2008

Go to Active Discussion Thread

Participate in Current/New Discussions

List All Archived Forums



Copyright © 2000-2015, Answers 2000 Limited.

With any business, it is up to the individual owner of said business to ensure the success of the business. You may make more or less than any sample figures or results that might be quoted on our web sites or other publications. All business involves risk, and many businesses do not succeed. Further, Answers 2000 Limited does NOT represent that any particular individual or business is typical, or that any results or experiences achieved by any particular individual/business is necessarily typical.

Disclosure: Our company's websites' content (including this website's content) includes advertisements for our own company's websites, products, and services, and for other organization's websites, products, and services. In the case of links to other organization's websites, our company may receive a payment, (1) if you purchase products or services, or (2) if you sign-up for third party offers, after following links from this website. Unless specifically otherwise stated, information about other organization's products and services, is based on information provided by that organization, the product/service vendor, and/or publicly available information - and should not be taken to mean that we have used the product/service in question. Additionally, our company's websites contain some adverts which we are paid to display, but whose content is not selected by us, such as Google AdSense ads. For more detailed information, please see Advertising/Endorsements Disclosures

Our sites use cookies, some of which may already be set on your computer. Use of our site constitutes consent for this. For details, please see Privacy.

Contact Us    About and Terms Of Use    Privacy    Advertising/Endorsements Disclosures