How to Attach a Document to an Email in Outlook


Object Model Support for Attachments

In Outlook, the Attachments property of the MailItem object supports attaching one or more files to an email message. To attach one or more files to a mail item before sending the item, you call the Add(Object, Object, Object, Object) method of the Attachments object for each of the attachment files. The Add method allows you to specify the file name (theSource parameter) and the attachment type (theType parameter) by using the OlAttachmentType enumeration. For files in the file system, specify theType parameter as the Outlook.olAttachmentType.olByValue enumerated value.

Note Since Microsoft Office Outlook 2007, you would always use this value to attach a copy of a file in the file system; Outlook.olAttachmentType.olByReference is no longer supported.

In addition, when you send an email in Rich Text Format (RTF), you can also specify two other optional parameters—Position andDisplayName—when you call the Add method. ThePosition parameter allows you to specify the position within the email where the attachment should appear. Use one of the following values for thePosition parameter:

  • The value 0 hides the attachment within the body of the email.

  • The value 1 places the attachment before the first character.

  • A number that is larger than the number of characters in the body of the email item places the attachment at the end of the body text.

For RTF email messages, you can also specify the DisplayName parameter, which provides the name that is displayed within the body of the message for the attachment. For plain text or HTML email messages, the attachment displays only the name of the file.


I can’t attach a file

Refresh the page by clicking Ctrl + F5 and try to attach the file again. If the problem persists, clear the browser cache and delete all cookies. If you’re using Internet Explorer, try disabling the proxy server. Then try the intended action again.

Yandex.Mail may not work properly due to certain browser extensions or add-ons. You can temporarily disable them to determine if this is the case. If ad blockers or antivirus extensions are causing problems with Yandex.Mail, then you can add the Mail page to the list of exceptions for that particular extension.

Microsoft Outlook and Outlook Express

  1. Open Microsoft Outlook.
  2. Reply to an existing e-mail, or compose a new e-mail by clicking the Message tab the top-left portion of the window.
  3. Click the Attach File icon in the top-middle portion of the screen (it looks like a paper clip). Alternatively, you may click Insert at the top of the window and select Attach File.
  4. Select a recent file, or click Browse This PC.
  5. Navigate to the location of the file(s) you want to attach, make your selections (A), and then click Open (B).

 If the attachment is successfully added, it is sh

  1. If the attachment is successfully added, it is shown under the Subject line next to Attached in your message.
  2. Once you’re finished composing the message, click the Send button on the left side of the address window.

(formerly Hotmail)

  1. Log in to your Microsoft e-mail account.
  2. Near the top of the window on the left side, click the down arrow next to New and select Email message. You may also reply to a message you have received previously.

 When you're ready to insert an attachment into th

  1. When you’re ready to insert an attachment into the body of your message, click the icon at the bottom of the message window.

 Navigate to the location of the file(s) you want

  1. Navigate to the location of the file(s) you want to attach, make your selections (A), and then click Open (B).


If you use an online file options (e.g., One


If you use an online file options (e.g., OneDrive), check the boxes next to the files you want to attach and then click at the bottom of the window.

  1. After you select the files you want to send, click Attach as copies on the next screen.
  2. When you’ve successfully attached your items, you see them at the top of the body of your message.

 When you've finished composing your message, clic

  1. When you’ve finished composing your message, click the button.

Attaching a file that is larger than the 20MB Gmail limit

As mentioned in the beginning, Gmail has a 20MB limit on email attachment size. So how to you send a file that is more than 20MB in Gmail? There are two ways to go about this.

First, I suggest you use a compression program (also known as a zipping program) to decrease the file size especially when the file is only a little above 20MB. Generally word processor documents, spreadsheets and PDFs can lose a lot of their flab when compressed. Zipping a file that’s a little more than 20MB would probably bring the file size under the maximum value. However, zip programs are not very effective on images, music or video files. Make sure the recipient has the necessary compression program to be able to “unzip” the attachment and view/run the file.

The second method is to “split” the file. Splitting very large files into manageable chunks that are less than 20MB works very well. In this case too, the recipient would need the splitting program to get the file back together as a whole. Another issue with file splitters is that if you forget to send even one part, the recipient would most probably not be able to do anything till he/she gets the lost section.

Downloading Gmail attachments

You can download Gmail attachments either one by one or all together. Clicking on the Download link beside an email attachment will download only that file. The Download all attachments link is found right under the actual email message and just before the email attachments list.

Depending on which web browser you are working on, email attachments will either be downloaded to a specified directory (the download directory set in the browser) or the program will let you choose the storage location.

Attach a File to an Email in Outlook for Mac

These instructions apply to Outlook for Microsoft 365 for Mac, Outlook 2019 for Mac, Outlook 2016 for Mac, and Outlook for Mac 2011.

  1. In your message, go to the Message tab, then select Attach File (the paper clip icon).

  2. Locate the item you want to attach and select it.

  3. Select Choose.

    You can also add attachments by dragging a file or folder from the desktop or Finder into the body of the message.

See also

Attach an Outlook Contact Item to an Email Message Limit the Size of an Attachment to an Outlook Email Message Modify an Attachment of an Outlook Email Message

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.