Transpose Email Plugin

Support the Development of Transpose Email Plugin

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 me@ajaydsouza.com, so I enter it as me
  • domain – The part that comes after the @ in your email address e.g. my email address is me@ajaydsouza.com, 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

To Do:

  • Add button to Quicktags Toolbar

I’ve spent a good deal of time and money developing and maintaining the plugin. If you like the plugin and find it useful and would like to donate something for my work please do click the Paypal Donate button below. The payment is secure. I haven’t filled in any amount. Feel free to donate what you please. Any amount is welcome. Thank you :)

License

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

Questions or Bugs

If you have any questions or would like to report any bugs then please visit the support forum.

Downloads

Download Transpose Email v1.3.1
Number of downloads: 13,186
Rating: 4/5
Page on WP Extend

Comments

  1. 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’.

  2. 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.

  3. Hi Sam,

    Released 1.2 of the plugin which resolves the issue.

  4. 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 :)

  5. 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!

  6. Hi,

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

  7. 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.

  8. 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 :)

  9. 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?

  10. 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.

  11. 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.

  12. 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.

  13. 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.

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

  15. 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!

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

  17. You’re welcome :)

  18. 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

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

    Thanks.

  20. Bengt J├Ânsson
    May 3, 2014 - 2:46 pm

    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…

Leave a Reply