Emailing Safari URLs via Mail.app

Mac OS X Hints posts a fantastic shortcut for emailing Safari URLs via Mail.app.

Drag the following “url” (actually a javascript) to your bookmark bar:
javascript:location.href='mailto:?SUBJECT='+document.title+'&BODY='+escape(location.href)

Call it whatever (say ‘e’). Since this is a bookmark (and not a folder), a hotkey is assigned to it (command-1 to command-9) by Safari.

Now whenever you need to send the page title and URL to someone, just press the hot key, and that’s it!! A mail message is created with the title of the page as the subject, the URL as the body, and the cursor active on the “To:” field.

Leave a Reply

Your email address will not be published. Required fields are marked *