Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm adding Facebook like, Tweet, Google +1, LinkedIn Share buttons to some webpages.

I'm also adding an email this link button as well.

Currently I'm doing it like so.. I have nice button made up, and am using this link:

<a href="mailto:?subject=Title to send&body=Hi%0D%0DI thought you may be interested in this link.%0D%0Dhttp://www.example.com/">
Email this
</a>

Someone has suggested that I instead bring up a box and give users option to send straight from that. I.e. I would have pre-decided on the message, and the user would enter their email address, and the recipients. The end message would come from our email, and say something like bob@smith.com shared this link with you.

I have two questions:

  • Is that a better of doing it?
  • How reliable is mailto? Will I have to do extensive testing?

Basically I would like some advice on best practices, and what you may have done in the past, thank you :-)

share|improve this question

1 Answer 1

up vote 3 down vote accepted

The advantage of bringing up a box is that it doesn't rely on the user having their email client configured properly on the machine they are using. So it works even if they're using someone else's machine, or a public machine at an internet cafe. With the increasing rise of webmail like Gmail that's always going to be the case. However you do need more work on your server to get it to work.

Another advantage is that you can have more control over what goes in the email. It would be courtesy though, and give more confidence, to show the user what the message is going to say before they send it.

Mailto has been around for ages and is well supported, so you don't need to do much testing. It's easier for you to implement.

share|improve this answer
    
Some good pointers there, thanks. –  Jon Jul 27 '11 at 15:52
    
The downside is that you have to be very carefull about what you accept. Quite often those 'recommend to a friend' scripts are abused by automated scripts to spam other users with advertising messages, and this could mean trouble for you. –  iHaveacomputer Jul 28 '11 at 2:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.