• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Outlook Tips

Learning Microsoft Outlook One Tip At A Time

Outlook 2013 Absolute Beginner's Guide Diane Poremsky [Outlook MVP]

  • Home
  • Tips Archive
  • How to...
  • Beginner
  • Outlook.com

Send Links by E-mail in Windows XP

Note: This app is not needed in Windows 2003 Server (and newer operating systems) or if you have the hotfix (Q 327010) for Windows XP (but you can use it anyway). The Hotfix may be included in Windows XP SP2. In new versions of Windows, the Send link by email command inserts a text link into the message, not an attachment.

Send email

It's always annoyed many people that sending links by e-mail from any version of IE always included an internet shortcut as an attachment as well as a text URL. It's even more annoying now, since MS decided to remove the ability to send both the shortcut and include the text URL from the Windows XP operating system and replaced it with only an attachment and a text in the message body.

This feature is controlled by a Windows file, sendmail.dll, which was updated and "improved" in WinXP. Unfortunately, the improvement removed the ability to include text URLs. Thanks to "OutlookHELL" security features, potentially dangerous attachments are blocked and links are considered dangerous attachments. This means sending a shortcut only to an Outlook user is a waste of time, since they can't easily get the attachment off.

There are a few workarounds for this problem – all ending with the copying of the URL from the address bar and pasting it in the message body, after deleting the really lame line of text. You can also drag the URL from the address bar and drop it in the message body. In Outlook 2002 on WinXP the URL is entered as text, not an attachment. In fact, all situations that previously resulted in a *.lnk attachment instead of a text URL now insert only a text URL. The Outlook/Office developers got it right this time.

Sig Weber wrote a script which is added to the right click context menu in Internet Explorer. This script allows you to send the page title and text URL to an email message. It's a very simple JavaScript, which is saved in an HTML file, in the C:\Windows\Web folder and a registry entry that adds it to the context menu. The idea for this script originated from ascript by Bill James which copies the page title and URL to the clipboard.

email Mail to urls

Customizing the Script

You can edit the script in notepad and replace sTitle with sUrl in the mailto subject field, if you would rather have the URL in the subject field. You could also add words to the subject, such as "Thought you might like this", including the page title if you wish:

 // Build mailto string
 var sMail = 'mailto:' + '?subject=' + "Thought you might like this: " + sTitle + '&body=' + sTitle + ' : ' + sUrl
 

If you often forward links to the same people, you can add the addresses to the string:

 // Build mailto string
 var sMail = 'mailto:test@poremsky.com' + '?subject=' + "Thought you might like this: " + sTitle + '&body=' + sTitle + ' : ' + sUrl;
 

You need to add the registry key to add the context menu item. In this sample, "Send Link by Mail" is the menu item shown on the context menu.

 [HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\Send Link by Mail]
 @="c:\\windows\\web\\Send_Mail.HTM"
 "contexts"=dword:0000000
 

The script should work just as well with all later versions of IE and Outlook or other mail programs, if you want to send URLs but not send links too. You may need to change the path in the registry to c:\winnt\web, depending on your operating system.

Finally, while there is a limit to the number of context menu items you can have, there is no reason you can't use more than one of these scripts, customized for different purposes. Remember to use different file names and add a registry entry for each one.

Your registry should look something like this, with the correct file and path for your system:

registry editor

Download Sig's Mailto script here.

Published January 16, 2011. Last updated on October 25, 2020.

Share this:

  • Twitter
  • Facebook
  • LinkedIn
  • More
  • Print
  • Tumblr
  • Reddit
  • Pocket
  • Pinterest

Related posts:

Many users are confused by the message Outlook displays when they attempt to use IE's File, Send link to menu option. It saysTip 122: Outlook Blocked Access As anyone who sends files from Windows Explorer knows, choosing Send to > Mail Recipient opens a message using the Outlook editTip 91: Send to... Using Your Stationery Tip 467: Send To Revisited When you send an attachment by right clicking on it and choosing Send, newer versions of Windows add a block of text to the messagTip 45: Send Attachments From Windows
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments

Primary Sidebar

Subscribe to Outlook Tips by Email

Search OutlookTips

Training and one-on-one assistance

Do you need help setting up Outlook or want some one-on-one training? I'm available for hire. See Training and one-on-one assistance for fees and to check availability.

Popular Posts this Week

  • Where is File tab in Outlook?
    Where is File tab in Outlook?
  • Understanding Tasks and To-Do List
    Understanding Tasks and To-Do List
  • Icons found in the Inbox, Message Headers, and Toolbars
    Icons found in the Inbox, Message Headers, and Toolbars
  • How to Find Folder Paths in Outlook Mailboxes
    How to Find Folder Paths in Outlook Mailboxes
  • How to Reset the View on Outlook folders
    How to Reset the View on Outlook folders
  • Change or cancel meetings without sending update messages
    Change or cancel meetings without sending update messages
  • How to bulk move Outlook folders
    How to bulk move Outlook folders
  • "Who created the appointment?"
    "Who created the appointment?"
  • Prevent Accidentally Sending an Email Message
    Prevent Accidentally Sending an Email Message
  • Setting a fixed Column Width in Outlook
    Setting a fixed Column Width in Outlook

All-Time Most Popular Posts

  • Windows 7 and Vista Start Search field
    How to start Outlook in safe mode
  • outlook.com icon
    Delete a message stuck in Outlook's Outbox
  • How to use Outlook's Command line switches
  • Use Cleanviews switch to reset all views
    How to Reset the View on Outlook folders
  • Where are my Outlook Files?
  • Folder paths
    How to Find Folder Paths in Outlook Mailboxes
  • How to use Scanpst.exe to repair Outlook data files
  • Outlook's Missing Holidays
  • Icons found in the Inbox, Message Headers, and Toolbars
  • open an outlook data file
    Open an existing personal data file (*.pst) in Outlook
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

Footer

Recent Posts

  • Outlook on the web Quick Actions moved to the right
  • Automatically sign out of Outlook.com
  • Quick Actions in Outlook
  • Outlook Autocomplete Bug
  • Outlook on the web Address Book sort order

Recent Bug List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in Outlook for Windows.

Office Update History

Update history for supported Office versions is at Update history for Office

Resources

Ask questions and share your knowledge in Outlook Forums.

Translate

You Might Like

Where is File tab in Outlook?
Using Two-factor authentication
Where are my Outlook Files?
How to use Outlook's Command line switches

© 2003–2023 ยท Outlook Tips

wpDiscuz
You are going to send email to

Move Comment