Sometimes I get a little wordy, and the good stuff gets lost in the babble. So, I wanted to highlight how cool this bookmarklet is. If you browse the web a lot and you like to tell friends about webpages by sending them an email message, this is the tool for you.
Click to create New Tell-A-Friend Bookmarklet
(Don't drag it to your browser's links bar until you've entered the recipient's email address and name of the bookmarklet. Click it and you will be prompted for these two pieces of information.)
Thanks to Bart Miller, the guy who wrote this, and Steve at Bookmarklets.com.
For more info on why I wanted this bookmarklet and if you want to help me improve it, click here.
I mentioned on the other thread that you can enter multiple email addresses in the dialog box separated by semicolons if you want to send to multiple recipients. The other two goals were:
1. Customize the footer to add an "opt-out of my tips" message.
2. Automatically personalize the message with a "Dear [Name]"
For #2 just add that to the body of the message. For #1, you will have to decide how you want to handle that. The most common way to is to give the recipient a link that they can visit to opt out. Below is how the code might look:
javascript:AdR9Ek2H=prompt('Enter Recipient Email Address: (e.g. - guy@domain.com)','');if(AdR9Ek2H){NMwo81Cp=prompt('Enter Name for Bookmark:','');if(NMwo81Cp!=null){with(document){write(('Mail to '+NMwo81Cp).link('javascript:location.href=\'mailto:'+AdR9Ek2H+'?SUBJECT=\'+document.title+\'%20&body=Dear '+NMwo81Cp+ ': \'+escape(location.href)+\' To opt out go here - http://example.com/optout.aspx\';void(0)'));void(close())}}else{void(null)}}else{void(null)}
Posted by: Bart | June 19, 2004 at 04:45 PM
Thanks Bart. I think I'll keep it simple, and just tell people to email me, if they don't want to receive tips from me.
Posted by: Peter Caputa | June 19, 2004 at 07:13 PM
A couple of other email addresses I like to include: my email-to-Blogger address, and also Usenet groups e.g. mail2news-20040718-alt.test@anon.lcs.mit.edu (for more info, see http://mentalhealth.about.com/library/weekly/aa081197.htm)
Posted by: Jonathan Aquino | July 19, 2004 at 02:37 AM