Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9130389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:57:26+00:00 2026-06-17T07:57:26+00:00

We have a Winforms application which supports dragging and dropping chunks of HTML into

  • 0

We have a Winforms application which supports dragging and dropping chunks of HTML into Outlook (HTML) mail messages.

Chunks of text are fine.

But how do we proceed with images? Let’s assume we don’t want to host the images online but instead we want to send them with the email message. Assume also that we do want to see the image inline, not as an attachment (where the recipient’s email client supports that, of course).

If you look at the HTML source of an Outlook message there are “cid” tags for images (which point to the image as an attachment I guess), but how do we go about generating a cid/contentid?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T07:57:27+00:00Added an answer on June 17, 2026 at 7:57 am

    If a manual step in the process is an option, you can do it like this:

    1. create the HTML automatically or manually as a saved HTML file, with <img> tags that link to locally-saved image files
    2. attach the HTML to an Outlook email using the ‘Insert as text‘ option tucked away under the down-arrow on the “Insert” button when selecting the HTML file as an attachment.

    This populates the HTML email with the HTML from the file and embeds all images. I believe this tool uses Base64 encoding to embed the images as described in Sam’s email.

    Depending on the workflow, this method might be easier than converting images to Base64 yourself.

    Note that this method only works in Outlook for Windows, not Outlook for Mac.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Winforms application which is working fine.. using a BackgroundWorkerThread to manage
I have to develop a application (Winforms-application) which is connected to a database within
I have a WinForms application that requires some configuration which I do at install
I have a C# 3.0 WinForms application which is occasionally required to control Excel
I have a WinForms application, which I need to support in multiple languages. I
I have a winforms application in which some of the data is stored in
I have build an C# Winforms application which will need regular updates and patches
I have written a C# desktop (winforms) application which is essentially a clone of
I have a Winforms application that executes a stored procedure which examines several rows
I have a winforms application which is deployed with a standard windows installer (MSI),

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.