Let’s assume you’re working in the training department of a firm, and need to send training materials to new recruits on a regular basis. The usual way is to right-click on the file, choose Send To, and click Mail Recipient. This attaches the file to the compose window in your mail client.

How about saving bandwidth in your local network by sending the target path of documents (residing in a network share), instead of attaching them to mail?

For this purpose, I wrote a script which adds the Mail Recipient (as Path) option to the Send To menu, which when clicked, opens the compose mail window and adds the target location of selected files and folders to the Body.

1. Download SendLinkToMail.zip

2. Unzip the archive and extract the file sendlinktomail.vbs to a permanent location.

3. Double-click sendlinktomail.vbs to run it.

4. When you see the following prompt, simply press ENTER:

The Mail Recipient (as Path) is now added to the Send To menu.

5. Open the location which contains documents that you want to email (as Path)

6. Select the files.

7. From the File menu, choose Send To and click Mail Recipient (as Path)

This opens your mail client, with the Subject and Body fields populated.


Note: Hyperlink is formed correctly as long as the path does not contain spaces.

Add a salutation, type your message, mention the To: address and send it.

Customization

To change the default Subject line and To: address, edit the script using Notepad and modify the variables in Line #28 and 29. For example:

strRecipientEMail = "somename@mydomain.com"
strMailSubject = "Training Documents"

Undo Information

To remove Mail Recipient (as Path) option from the Send To menu, re-run the script, type UNINSTALL and press ENTER. Then delete the file sendlinktomail.vbs manually.


Related Posts


Email SubscriptionPrefer an E-mail subscription?

Enter your email address:

Delivered by FeedBurner

9 Comments

  1. Bob
    said this on Wednesday, January 25th 2012 10:40 pm

    is there one that well send as attachment rather than link.
    A link to a folder or file on my pc helps no one on the receiving end.
    Thanks

  2. Johan
    said this on Thursday, September 15th 2011 5:41 pm

    Works fantastic!
    Is there any way to get the message to include my signature?

  3. Rkemp
    said this on Friday, September 2nd 2011 1:58 pm

    Currently we are using this, which is very usefull! But we are having the problem that it does not use the UNC path but the direct drive path. So the recepient has sometimes to edit the adress accordingly.
    I looked through the code but i can’t seem to find where to change it.

    So it displays this:
    file://X:\folder\test.jpg
    and we would like this:
    file:///\\name\folder\test.jpg

  4. Andy
    said this on Tuesday, October 5th 2010 3:10 am

    Alan,

    I am assuming you are making the same mistake i was making.

    make sure to save the file first before extracting!!!!! that’s the cause of that error.

    Andrew

  5. Alan Head
    said this on Sunday, October 3rd 2010 8:31 pm

    I’ve done as you said and the system loaded. But when I try to use it I get the following message, The file or folder ‘SendLinkToMail.vbs’ that this shortcut refers to can’t be found. Im using Windows 7.
    regards,

    Alan.

  6. Andy
    said this on Thursday, September 9th 2010 1:18 pm

    I am so sorry !!!!
    i just realized that i wasn’t fully extracting the file but using it from the zip file.
    it works and it works great!!!!!!

    thanks very and again apologies

  7. Andy
    said this on Thursday, September 9th 2010 1:01 pm

    Ramesh,

    I have followed the instruction provided and havn’t changed anything (i didnt go into the vb file and edited it)

    i am a lost as to why its nor working
    any ideas?

    10x

  8. phillip
    said this on Tuesday, April 6th 2010 7:02 pm

    when i right click on a photo using windows 7, nothing happens when i choose send to mail recipient.

  9. Joseph
    said this on Tuesday, February 23rd 2010 12:48 pm

    THANK YOU SO MUCH, I LOOKED EVERYWHERE FOR THIS

    YOU ARE DA – BOMB

Leave a Reply