Transpose Email Plugin

This plugin is no longer being developed or supported. It is recommended that you discontinue the use of this plugin and find an alternative, if applicable.

Overview:

Putting your email address in a blog post is an open invitation to spammers. There are several methods to prevent this, like using a contact form or obfuscating your email.

Transpose Email plugin allows you to use JavaScript to create an encoded link. Clicking that link will trigger the user’s email client to open and create an email.

You have the option to set the default subject line to whatever you want.

Features

  • Easy to use and edit.
  • Doesn’t require any external program to encrypt your email.
  • Function can be called muliple times on the same page, just by passing different email addresses.
  • Uses the user’s default email program like Outlook Express to send the email. So, will work even your host has disabled the mail() function of php as well as SMTP.
  • Doesn’t require reencrypting of your email address in case it changes. All you need to do is update the arguments to the function.

Requirements:

Installing

  1. Download Transpose Email Plugin.
  2. Extract the contents of ald-transpose-email.zip to wp-content/plugins/ folder.
  3. Activate the Plugin.
  4. Read the Customizing section.

The JavaScript Function:

Transpose_Email(userid,domain,subject)

  • userid – The part that comes before the @ in your email address e.g. my email address is [email protected], so I enter it as me
  • domain – The part that comes after the @ in your email address e.g. my email address is [email protected], so I enter it as ajaydsouza.com
  • subject – The subject line of the email you will receive.

Usage:

Example: <a href="javascript:Transpose_Email('user','domain.com','About your site') ">Email Me</a>

Ofcourse, change domain.com and user to that of your email address. Change the subject line if you want to.

ChangeLog:

  • 1.3.1 – Minor JS fixes
  • 1.3
    • Better support for blogs which have the `wp-content` folder moved from the original folder
    • Added support for blank subject line
  • 1.2.1 – Uploaded the plugin on WordPress.org
  • 1.2 – Code remains same. Minor corrections to Readme file
  • 1.1 – Moved the javascript function to an external .js file. Now the plugin works even when your blog is served as application/xhtml+xml on browsers that support it, e.g Firefox
  • 1.0 – Release

License

All files and their contents are licensed under the GNU General Public License (GPL).

Downloads

Download Transpose Email v1.3.1
Number of downloads: 14,023
Rating: 0/5
Page on WP Extend

(Visited 11,081 times, 1 visits today)

32 Comments

  1. […] ess as an argument and then converted it into a plugin for wordpress. Read more about the Transpose Email Plugin.  

    Ta […]

  2. […] June 15th, 2005 WordPress Plugin: Transpose Email Transpose Email Plugin keeps your email safe from spammers when you want to u […]

  3. […] gin WordPress: Search Reloaded Plugin WordPress: Transpose Email Transpose Email è un plugin che protegge il tuo indirizzo email dagli spamme […]

  4. The \”Email Me\” link example above should open my email client, correct? I’m using Thunderbird and clicking the link in Firefox doesn’t trigger Tbird to open a blank email. IF I view this page in IE though, it works.

    Good idea for a plugin though! When it’s Mozilla-friendly, it will find its way onto a few of my sites fo’ sho’.

  5. […] y  I noticed a problem when serving the blog as application/xhtml. I released the Transpose Email plugin which uses a javascript function Transpose_Email(). T […]

  6. Hello Sam,

    Thank you for pointing this out to me. After a lot of trial and error I finally figured out the solution to the problem.

    I was serving my blog as application/xhtml as opposed to text/html

    Firefox, unlike Opera and IE, recognizes application/xhtml.
    As result, it kept throwing up a javascript error for undefined function.

    A temporary work-around is to serve the blog as text/html.
    I hope I can find a permanent solution to this problem.

    You will see that the above example works in Firefox now.
    Thanks once again for pointing this out.

  7. […] Email Plugin v1.1 Released Posted by Ajay under Blogging  I have released v1.1 of Transpose Email plugin. It fixes the javascript error when the blog was serv […]

  8. Hi Sam,

    Released 1.2 of the plugin which resolves the issue.

  9. […] gin Competition has finally closed with 52 entries! I have submitted my two plugins viz. Transpose Email and Bad Behavior Stats for this competition. Am really stunn […]

  10. Talk about fast turnaround! Thanks Ajay!! The plugin works great. I’m using it on a new site, http://www.rememberjerry.com/. Very useful indeed.

    cheers
    SAM 🙂

  11. A man’s gotta do what a man’s gotta do 😉

    Anyway, it seemed rather ironical that my own plugin wasn’t working on my own site!

  12. Hi,

    Can you add into javascript status bar options!!! We can change status bar messages.

  13. Thanks for a helpful plugin!

    I modified the code here in a couple of ways Ajay — I hope you don’t mind of course!

    * I removed the \”subject line\” part of the javascript code, as I prefer not to have this in my link (and so I use the code on my page slightly differently of course to allow for no subject line specification).

    Also, the readme in the download zip file has references to \”Bad Behavior\” plugin (line 24 of readme file, and also line 33 for more information).

    Also too, the download is v1.1, but here on your site you mention 1.2 — is there a later version not available yet to download?

    I put the details on my blog: http://www.deankennedy.com/blog/2005/08/01/testing-transpose-plugin/

    One other thing: I needed to create a folder in my WP plugins folder called \”ald-transpose-email\” to hold the external javascript file, as that his how it is referenced in the php plugin file. (I could have altered the php file to remove this folder reference as an alternative to creating the folder!)

    I hope the readme comments and extra folder info help for your next version!

    Kind regards from Melbourne downunder.

  14. I have updated the Readme and released v1.2

    No changes in the code, but just the readme for now.

    Additionally, I don’t mind you modifying the code as long as you credit me for my work 🙂

  15. AkeB0N0 Says:
    Hi,

    Can you add into javascript status bar options!!! We can change status bar messages.

    Are you saying as part of this plugin or as another plugin?

  16. […] Transpose Email Plugin: This WordPress plugin encrypts your email address if you decide to add it to your blog. I prefer to use a contact form but it's easier for the user to just click a mailto: link and communicate through their email program. Permalink | Comment | Trackback url | Cosmos | BlogPulse […]

  17. […] Transpose Email: Keeps your email safe from spammers when you want to use mailto: links. […]

  18. […] And if you really want to use your email address on the site then you can make use of either Transpose Email Plugin or EmailShroud Plugin. Both of these use javascript to obfuscate your email address thus prevent email harvesters from getting hold of it. […]

  19. There are CSS methods available to obfuscate your email address. The one in my link uses CSS to shrink a generated random-text logo down giving the illusion of normal text. I spiced it up by adding colour shading options and a dozen fonts to choose from. The more obfuscation methods in use, the less chance the email harvesters will decode them all.

  20. Have checked it out and looks quite good.

    However, everytime the user needs to change the email address it will require him to recode it.

    Using this plugin, he just needs to change little to change the email address he wants to use.

  21. Hmmm….I think I like it, except that I think it could be done about as well without requireing javascript….here’s my idea:

    Write it instead as a filter/function/etc. which is processed by PHP and takes as an input the same information, but generates a mailto: link that uses entity encoding for the characters. The last time I checked, entity encoded email addresses weren’t harvested by spammers either.

  22. Well, there are other plugins that tackle spam harvesting by encoding links.

    This plugin isn’t made for automatic protection but only when you actually feel the need of inserting your email address directly.

    I can’t be sure, but there may be a time that entity encoded email addresses will be decoded, unless you can come with your very own code.

  23. Actually I just found yet another
    plugin
    that does an entity encoded email obfuscation. Thanks for pointing this one out to me.

  24. Wowee, thanks! I have just spent the better part of an hour trying to code my old javascript cloak-the-email-address script in my wordpress site, without any success at all. This is so much easier! Thanks for your work!

  25. […] Rob Miller’s Now-Reading plugin Lester Chan’s wp-stats plugin the Blogstats PCC plugin from Perishable Press Kafkaesqu

  26. Ajay thanks again for another easy plugin which is quite useful.

  27. You’re welcome 🙂

  28. I just installed this plugin but does not work with webmail like Gmail. When I click my own email link, it will callout my Outlook Express instead of Gmail New Message.

    Normally if I use mailto it can turn to Gmail. Is there any work around?

    Thanks

  29. Yes, I have the same problem as ziranfaze…. I think we should find another plugin here http://www.somethinkodd.com/emailshroud/

    Thanks.

  30. Hi
    Don’t know if it’s the new version of WordPress or the new version of TinyMCE that’s removing the link for TransposeEmail in visual-mode … Do you know anything about this? It’s working as long as I’m in text-mod in the wordpress editor, bot not in visual mode…

Comments are closed.

Get more stuff like this
in your inbox

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.