• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

How to Insert a Text or HTML File into a Message

Slipstick Systems

› Tutorials › How to Insert a Text or HTML File into a Message

Last reviewed on February 14, 2019     6 Comments

You can insert text or HTML files in messages in Outlook (any version.) Use this to insert "boilerplate text" or HTML created in an HTML editor.

In Outlook 2016, you need to customize the Quick Access Toolbar or Ribbon to add the Insert File command to the ribbon - the default Attach File command on the Insert menu won't offer the opportunity to insert a file as text. The old Attach File command, which has the Insert as Text option is available in the customize dialog.
attach file command
Tip: Make sure you choose the second Attach File command, the one that does not expand.

When you click this Attach file dialog, you'll have the older options to insert the file as text.

 

To Insert text or HTML files into a message:

  1. Click the Attach File icon in Outlook 2007, 2010, and 2013
  2. Select the file and expand the Insert button.
  3. Select Insert as text. If the file contains HTML tags, it will render in the message as HTML.

More Information

You can use VBA to insert HTML stationery or text files as the message body. See "Create a New Message using an HTML File or Stationery" for the code.

How to Insert a Text or HTML File into a Message was last modified: February 14th, 2019 by Diane Poremsky
Post Views: 122

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Mastodon (Opens in new window) Mastodon
  • Email a link to a friend (Opens in new window) Email

Related Posts:

  • Create a New Message using an HTML File or Stationery
  • How to Create HTML Stationery for Outlook
  • Outlook's Modern Attachments Feature
  • Composing Complex HTML Mail Messages

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Comments

  1. Adam Young says

    December 4, 2017 at 5:51 pm

    Hi Diane. Is there a way to replicate this through VBA? I would like to attach a webpage to an email as text, but am having a hard time figuring out this final step. The (very simple) code I've written, which is included below, will attach the webpage, but as a file:

    Public Sub WeeklyHayReport()
    Dim FarmAccount As Outlook.Account
    Dim ObjMsg As MailItem

    For Each FarmAccount In Application.Session.Accounts
    If FarmAccount = "Farm" Then
    Set ObjMsg = Application.CreateItem(olMailItem)
    With ObjMsg
    .SendUsingAccount = FarmAccount
    .To = "Email Address"
    .CC = "Other Email Address"
    .Subject = "Idaho Weekly Hay Report"
    .Attachments.Add ("https://www.ams.usda.gov/mnreports/ml_gr312.txt")
    .Display
    End With
    End If
    Next
    End Sub

    Reply
    • Diane Poremsky says

      December 4, 2017 at 11:55 pm

      >> webpage to an email as text,
      insert it as an attachment or embed it as the message body? (Yes to either.)

      See https://www.slipstick.com/outlook/email/create-new-message-using-html-file-stationery/#insert for inserting files as the body.

      Reply
  2. Adam Ehrenworth says

    February 25, 2013 at 10:42 am

    When I do this in Outlook 2010 the html file appears as an attachment. I have validated that I am in HTML mode. Is this an issue with the source HTML file itself?

    Reply
    • Diane Poremsky says

      February 25, 2013 at 11:19 am

      If you choose Insert > Insert as Text, it should insert it into the message body as an HTML message.

      Reply
      • Terry Clancy ClanceZ says

        December 23, 2016 at 2:51 pm

        Office 365 does not appear to have the dropdown to expand the Insert Button ? Is there a way to do this in Office 365 ?

      • jeffk says

        August 26, 2021 at 11:21 am

        The attach file quick menu needs to be the one without the ellipsis. Also your html file needs the HTML BODY codes for Outlook to realize what you're trying to accomplish.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 31 Issue 8

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Deleting Auto-Complete Entries No Longer Works
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • How to Hide or Delete Outlook's Default Folders
  • Disable "Always ask before opening" Dialog
  • Change Outlook's Programmatic Access Options
  • Removing Suggested Accounts in New Outlook
  • Adjusting Outlook's Zoom Setting in Email
  • Reset the New Outlook Profile
  • Understanding Outlook's Calendar patchwork colors
  • Deleting Auto-Complete Entries No Longer Works
  • Sync Issues and Errors with Gmail and Yahoo accounts
  • Error Opening iCloud Appointments in Classic Outlook
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
Ajax spinner

Recent Bugs List

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

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

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

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Deleting Auto-Complete Entries No Longer Works

Sync Issues and Errors with Gmail and Yahoo accounts

Error Opening iCloud Appointments in Classic Outlook

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2026 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.