How can I send an Outlook 2007 email containing a linked image?

26
2014-04
  • ChrisA

    I want to send an Outlook email that contains an externally hosted image, but I can find no options in the UI that lets me do this.

    I want to insert the image's URL somehow, and have it appear as an image in the email (as if I'd inserted a picture from my file system), rather than as a clickable link.

    It's the sort of thing that can be done easily enough in code, just by including an HTML <img> tag in the body.

    Is there a way of doing this with the Outlook UI?

    Edit:

    The external image I'd tried this with was a .png, which, using the Insert Picture dialogue and pasting in a URL, appeared as a clickable link.

    Following Ivo's answer, I had another go with a .JPG, and it displays as an image. However, this image is embedded, not linked.

    Perhaps I wasn't clear - apologies. I don't want to take a copy of the image and send it. I want to include the link, not the image, in a way that

    a) Ideally, renders the image in the email while it's being composed

    b) Much more importantly, downloads the image from the external link and renders it when the email is received and then opened.

    Outlook can render newsletter-type emails that have linked images - I want to compose one like that.

  • Answers
  • Ivo Flipse

    Go to Format Text and enable HTML.

    Go to Insert and click on Picture

    Under File Name, copy paste the URL instead of a local file


    Edit: According to this Outlook 2007 Help page

    Insert a picture from a Web page

    • Open the Microsoft Office Outlook 2007 message.
    • From the Web page, drag the picture that you want into the message.
    • Make sure the picture that you choose is not a link to another Web page. If you drag a picture that is linked, it will be inserted in your message as a link instead of an image.

    Insert a linked picture from a web page

    • Open the message.
    • On the Web page, right-click the picture you want, and then click Copy.
    • In the message, right-click where you want to insert the picture, and then click Paste.

    So it's strange if this doesn't work for you under Office 2007

  • Highly Irregular

    I found this here.

    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Options\Mail 
    Insert New DWORD "Send Pictures With Document" (note the spaces)
    

    With a value of 1 you’ll include the picture with the message instead of as a link. If the value is set to 0 or when the key is missing you’ll send a link.

    3rd party Edit: Here's a screenshot of what the "Send Pictures With Document" setting should look like: Screenshot of Send Pictures With Document value in registry

  • Abrian Stemmet

    I had the same problem with Microsoft Outlook 2010.

    Going to "HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\Options\" there was no Mail key. I simply created it and followed Raithlin's answer.

    Upon restarting Outlook it now works perfectly! I hope this helps someone else in the future!

  • slhck

    I finally found the answer to this and decided to share my newfound knowledge. The process is somewhat obfuscated, but it's not too bad.

    The first thing you need to do is make the HTML file you want. Just open notepad and put the html in that you want in the document and save it as .htm.

    My apologies, looks like the document must be made using microsoft word or it will not work. In other words, instead of creating an html file from plain text, open Microsoft Word and make a document then save as filetype htm. Then you can edit it to add raw html like pictures.

    Finally, go like you're going to compose an email. Click Insert > Attach File. Browse to the file you just made, and select it but do not actually insert it. The Insert button on the bottom right should now be enabled with a small arrow to the right. Click the small arrow, and click "Insert as text".

    This will pull all of your raw HTML in. What's better is you can actually add text, change formatting, and tweak it if you like. Be warned that tweaking may result in undesired results, so I recommend sending it to yourself as a test to see if it will show up correctly when it's sent.

    That's it, no registry changes required. Anyone should be able to do this relatively easily.

    Good luck!


  • Related Question

    Can I create a link to a specific email message in Outlook?
  • Christian Berg

    I use Outlook as my email client at work, but I don't want to use it to manage my tasks and todos. (Instead I use plain text files and Emacs org-mode.) Since many todo items start out as mails in my inbox, I often need to reference these mails.

    Is there some clever way to create a link (a URL) that opens a specific email in Outlook when clicked?


  • Related Answers
  • see an example

    You can do this with a little bit of code in Outlook and a little bit of code in Emacs.

    First, if you're using Outlook 2007 you'll need to enable Outlook URLs with a registry addition. Instructions and the registry file can be found here courtesy of David Tan.

    Next, this macro can be added to Outlook and will get the GUID of the current email message, create a Org-Mode link and deposit it into the clipboard.

    'Adds a link to the currently selected message to the clipboard
    Sub AddLinkToMessageInClipboard()
    
       Dim objMail As Outlook.MailItem
       Dim doClipboard As New DataObject
    
       'One and ONLY one message muse be selected
       If Application.ActiveExplorer.Selection.Count <> 1 Then
           MsgBox ("Select one and ONLY one message.")
           Exit Sub
       End If
    
       Set objMail = Application.ActiveExplorer.Selection.Item(1)
       doClipboard.SetText "[[outlook:" + objMail.EntryID + "][MESSAGE: " + objMail.Subject + " (" + objMail.SenderName + ")]]"
       doClipboard.PutInClipboard
    
    End Sub
    

    Almost there, add this little bit of lisp to your emacs lisp directory to enable Outlook links.

    ;;; org-outlook.el - Support for links to Outlook items in Org
    
    (require 'org)
    
    (org-add-link-type "outlook" 'org-outlook-open)
    
    (defun org-outlook-open (id)
       "Open the Outlook item identified by ID.  ID should be an Outlook GUID."
       (w32-shell-execute "open" (concat "outlook:" id)))
    
    (provide 'org-outlook)
    
    ;;; org-outlook.el ends here
    

    And lastly, update your .emacs file to include the Outlook link code. Just add this somewhere after org-mode is setup.

    (require 'org-outlook)
    

    Now you can call the macro (I added it to my toolbar in Outlook for quick access) and you can quickly create a link to the email in Emacs.

    One gotcha, GUID's change when you move a message between document stores, so if you get the GUID to the message while it's on your Exchange server and then move it to your local PST file the link will change. Move the message before you get the GUID.

  • squillman

    came across Linker applet.going to try it out..you may want to as well http://www.teamscope.com/otherpro/utilities.asp#linker

    Here's the marketing drible..

    Linker™ for Windows® creates hyperlinks to items and folders in Outlook, and to files and folders in Windows Explorer. It is a system tray applet places the hyperlink in the Windows clipboard. The hyperlink can then be pasted into any Microsoft Office document, web page, e-mail message, or any document that supports hyperlinks.

    Greetings from sunny South Africa!

  • Pär Björklund

    I'm not sure about referencing a specific email but depending on your system you might be able to copy the email to the same location as the todo item. Just drag/drop the mail to a folder or the desktop and it will create a copy of the mail that you can treat as a normal file.

    If you would be using .doc or more "advanced" files than .txt you could then link to this Outlook message file.

  • Raymond Zeitler

    I prefer to copy the Outlook Item content to the system clipboard and then yank it into an Org-mode note.

    http://www.emacswiki.org/emacs/PlannerModeContrib#toc10