- Insert link in email body to attached document in Outlook 365
- Similar threads
- Outlook html link to attachment
- Asked by:
- Question
- All replies
- Attach a file from URL to Outlook email messages
- Shared Email Templates as your personal helpmate
- Short way using the ~%ATTACH_FROM_URL[] macro
- Transparent warnings
- You may also be interested in
- How to hyperlink images in Outlook
Insert link in email body to attached document in Outlook 365
Since I’ve installed 365, it stopped working.
Now the links created in the email don’t link to the file attached.
Does anyone have the same issue?
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
L | «Insert Pictures» Button-Wrong Folder | Using Outlook | 5 | Jan 16, 2023 |
C | Automatically Insert Recipient Name from To Field | Outlook VBA and Custom Forms | 4 | May 6, 2022 |
J | Macro to Insert a Calendar | Outlook VBA and Custom Forms | 8 | Oct 18, 2021 |
VBA to Auto Insert Date and Time in the signature | Outlook VBA and Custom Forms | 2 | Jul 19, 2021 | |
M | Replyall macro with template and auto insert receptens | Outlook VBA and Custom Forms | 1 | Jan 29, 2021 |
Z | VBA to convert email to task, insert text of email in task notes, and attach copy of original email | Outlook VBA and Custom Forms | 4 | Apr 1, 2020 |
B | Programmatically force html send and insert clipboard contents into body | Outlook VBA and Custom Forms | 0 | Aug 19, 2019 |
P | Auto Insert Current Date or Time into Email Subject | Outlook VBA and Custom Forms | 2 | Aug 16, 2019 |
Outlook 2010 Insert Date & Time at the button of an OL contactform in red | Using Outlook | 2 | Apr 17, 2019 | |
E | Copy e-mail body from outlook and insert into excel | Outlook VBA and Custom Forms | 3 | Mar 7, 2018 |
R | How Do I insert images in and Auto Reply | Using Outlook | 3 | Dec 26, 2017 |
L | Automatically Insert Recipient Name from To Field | Outlook VBA and Custom Forms | 33 | Aug 24, 2017 |
Create Task or Appointment and Insert Selected Text | Using Outlook | 0 | May 19, 2016 | |
B | Insert Hyperlinks for attachments in Userform | Outlook VBA and Custom Forms | 5 | May 18, 2016 |
D | Outlook task insert | Outlook VBA and Custom Forms | 3 | Apr 4, 2016 |
A | Auto Insert of filename when selecting ‘Remove Attachment’ | Using Outlook | 1 | Dec 18, 2015 |
K | Insert screenshots issue | Using Outlook | 2 | Apr 9, 2015 |
Recent Files Not Updating when Using Insert Hyperlink in Outlook 2013 | Using Outlook | 0 | Aug 5, 2014 | |
L | Insert Photo to Contact | Using Outlook | 23 | Jun 17, 2014 |
K | OL2010 Button to Insert First Name | Outlook VBA and Custom Forms | 6 | Mar 11, 2014 |
K | OL2010 Button to Insert First Name | Using Outlook | 1 | Mar 10, 2014 |
insert Date & Time (HH:mm) no (ss) in userform | Using Outlook | 6 | Mar 2, 2014 | |
A | insert Date & Time in userform | Using Outlook | 3 | Mar 1, 2014 |
K | Macro to insert attachments | Using Outlook | 1 | Nov 10, 2013 |
C | Insert a Date Picker for Send Mail Subject | Using Outlook | 1 | Sep 15, 2013 |
C | Insert date in Subject through date picker | Using Outlook | 0 | Sep 14, 2013 |
Opening a task the Insert Tab Option is not showing up and organizing Tasks | Using Outlook | 9 | Jul 25, 2012 | |
H | Insert Specific Text before Subject for New mails and reply | Using Outlook | 3 | May 3, 2012 |
R | insert picture tab grey | Using Outlook | 1 | Aug 27, 2011 |
K | Outlook insert clip art, no results found. address book contacts only show up | Using Outlook | 5 | Jun 21, 2011 |
J | Form design — how do I insert an automatic date/time field? | Using Outlook | 2 | Apr 13, 2011 |
J | How do I view the ruler in an Outlook message and/or insert tabs? | Using Outlook | 7 | Jun 2, 2010 |
L | Forward Email and Insert Sender’s Email address in body | Outlook VBA and Custom Forms | 3 | May 20, 2010 |
D | Insert Text and Send | Outlook VBA and Custom Forms | 1 | May 12, 2010 |
D | Re: How do i insert radio buttons in an email | Outlook VBA and Custom Forms | 1 | May 6, 2010 |
G | How to insert a json array into a calendar events | Outlook VBA and Custom Forms | 1 | Apr 25, 2010 |
K | insert text into current position of pointer in mailcompose | Outlook VBA and Custom Forms | 1 | Apr 12, 2010 |
J | Insert File | Outlook VBA and Custom Forms | 2 | Mar 30, 2010 |
M | Insert a File | Outlook VBA and Custom Forms | 3 | Mar 15, 2010 |
G | Task / Insert / Attach Item / Business Contact | BCM (Business Contact Manager) | 1 | Mar 10, 2010 |
M | Forward email as insert from button | Outlook VBA and Custom Forms | 1 | Mar 10, 2010 |
B | Simple way to insert file text — macro? | Outlook VBA and Custom Forms | 1 | Mar 2, 2010 |
S | How to insert a picture programatically | Outlook VBA and Custom Forms | 12 | Jan 15, 2010 |
C | insert a picture | Outlook VBA and Custom Forms | 1 | Dec 28, 2009 |
J | How do I scan and insert into Outlook 2007? | Using Outlook | 3 | Dec 24, 2009 |
B | Insert information to MailItem | Outlook VBA and Custom Forms | 1 | Nov 10, 2009 |
D | RE: How do you change the default insert file path in outlook? | Using Outlook | 11 | Nov 2, 2009 |
D | Insert Text via Macro in Outlook 2007 | Outlook VBA and Custom Forms | 2 | Sep 24, 2009 |
T | Is it possible to INSERT a string into email body via Shortcut. | Outlook VBA and Custom Forms | 2 | Sep 11, 2009 |
J | Command Button to insert Email Signature | Outlook VBA and Custom Forms | 2 | Aug 20, 2009 |
Similar threads
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Outlook html link to attachment
Asked by:
Question
First, is it possible to set a link in an html-formatted emails body that when clicked will open a file attachment on the same email?
Second, if possible then how can this be done?
All replies
I must thank a fellow comrade for the solution to this. I guess some times you really don’t need to travel far to find someone with a solution.
This is an amendment to the last post I made on this topic with modified code to correctly reference each attachment when there are multiple files attached.
The particular line of code being replaced:
The following code correctly links to each respective file attachment. This particular code syntax is meant for a single file.
For multiple attachments I used the following approach where the variables «_mailMessage» originalAttribute=»href» originalPath=»»cid:<0>«»> » , attach.ContentId, fileName);0>
For multiple attachments I used the following approach where the variables «_mailMessage» and «_bodyText» are private variables contained within a loop. The variable «fileName» is the friendly name to display so I didn’t think there was need to show how I got this.
After this loop completes I set the «_bodyText» variable to the emails body.
Attach a file from URL to Outlook email messages
by Ekaterina Pechyonkina , updated on March 13, 2023
Here is one more post continuing the topic of attaching files to email messages in Outlook. I hope you had a chance to read my previous articles related to OneDrive and SharePoint but this time I would like to cover one more way of inserting attachments with the Shared Email Templates add-in.
Shared Email Templates as your personal helpmate
Most of Outlook users are dealing with attaching documents, images and videos to email messages on a daily basis. If you got bored with repeated manual steps, give a chance to Shared Email Templates. Let me outline some benefits and, maybe, you will find them mobile and very timesaving:
- the add-in works on Outlook for Windows, for Mac, or Outlook online;
- it allows creating teams and sharing common templates with your teammates;
- finally, you can equip your templates with multiple macros, personal shortcuts and datasets.
Keeping up with the line, today I’m focused on enclosing files from URL links. To help my task I create a template using the special attachment macro, save it and paste it whenever I want:
That was fast! Try the same and your email recipients or teammates will be able to send and view extra data not limited by their access permissions.
Short way using the ~%ATTACH_FROM_URL[] macro
In this passage, I’m taking the point further to the steps and some important notes everyone should keep in mind. To make it simple, I will give you an example based on my own experience.
From time to time we all need to pull and send the same documents in public use from different pages or websites. I’m not an exception, Shared Email Templates – EULA is one of the most popular demands. Now that’s what I do:
- For the start I prefer to prepare the reference to my resource. So I right-click on my file and copy its address:
This tricky path will take just a bit of your attention, but it may save hours of your time. Your team would be in benefit as well since no access permissions or log-in are required. The URL file will be added to a current Outlook message each and every time you paste the template.
Transparent warnings
It might happen that you will see this type of warning when pasting a ready-made template:
Please recall my note from step 1: the size of your attachment must not be greater than 10 MB (10240 KB).
And if you get this message:
I’m afraid you need to revise your link: make sure you don’t put a link copied from OneDrive or SharePoint, it won’t work at all! You can find the articles related to these platforms below.
In conclusion, I should say that it is not easy to cover all the cases and aspects in one post. I will be pleased to help you out if you have any questions, the Comment section is all yours!
You may also be interested in
How to hyperlink images in Outlook
This article explains how to add hyperlinks to images inserted in Outlook 2013 – 2019 emails. It may sound trivial, but unless you are accustomed with Outlook, adding a hyperlink to an image in Outlook is not as obvious as it should be.
Let’s say you want to insert an image into an Outlook HTML email: the image shows a product and you want to hyperlink it to a specific website / URL.
First of all, you need to insert the image to your email: while you edit your Outlook email, position your mouse cursor where you want the image to be inserted, then go to the Outlook INSERT menu and click on “Pictures”:
In order to add the hyperlink to your image, you need to right click on the inserted image and choose “Hyperlink…“:
A new window will popup, allowing you to define the hyperlink target. Many users get confused on this step, because this Outlook window looks pretty much like a regular Windows File->Browse window and it seems to force you to link the image to a local file. However, all you have to do is to specify the desired URL for your hyperlink image, in the Address field:
As an alternative, if you use a HTML template for your Outlook emails, you can define the hyperlink using regular HTML code (a href).