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

  • Home
  • SEARCH
  • 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 8827927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:29:24+00:00 2026-06-14T07:29:24+00:00

I have a Win Form application that does some boring accounting stuff and then

  • 0

I have a Win Form application that does some boring accounting stuff and then sends it’s data to some lucky recipients. I am using the Outlook 12.0 Interop objects and my applications environment ranges from office 2003 on XP to office 2007 on Win 7.

My issue lies with sending the corporate signature with the sent emails.
It contains two images and I would like to embed these images so they appear to be part of the body (assuming the receiving mail client supports that).

I have tried a few different methods of accomplishing this; but still no luck!

I have tried:

  • Extracting the html data from the signatures folder, changing the
    html img tags src attribute to include ‘file///’. This causes Outlook
    to replace the ‘file///’ with ‘CID’ and I assumed it would also embed
    the image… we should never assume :|. This is the method I found
    worked best for getting the rest of the signature.

  • (After creating a new MailItem) – Grabbing the HTMLBody of the MailItem
    and extracting the relevant part including the signature… This
    didnt work due to the new MailItem object being very inconsistent
    with it’s signature. By that I mean sometimes the new item would
    include the signature and sometimes it wouldn’t! :s I cannot figure out why it is not always there, no other part of my code has changed!

I read on another post here about the GetInspector property… Apparently just calling this will do ‘Some stuff’ and the signature will magically appear in your mail item… NO!

Things I can’t do:

  • I cannot (as much as i would like to) shove the images online
    somewhere and point to them in the emails html.
  • I cannot use SMTP(It has to be through Outlook… sigh).

I am thinking that the best way seems to be my original method of messing about with the CID, but I do not really know much about what Outlook is doing in the background so I am having trouble figuring out what else I need to do to get the images sent along with the email.

Hoping someone out there has some idea about what I am doing wrong or what else I could try.

Please let me know if code would be helpful and I will post, (Most of the code tried is from this site… I just cannot find the links again and am trying to avoid making this question tooooo long).

Many thanks

  • 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-14T07:29:25+00:00Added an answer on June 14, 2026 at 7:29 am

    This is not the most efficient or flexible solution you can use, but probably the most robust and portable. You can convert your image bitmap into plain HTML and embed that HTML in your e-mail signature.

    The conversion is quite simple, you can use the utility I wrote (open source) here.

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

Sidebar

Related Questions

I have a winform application that uses some referenced web services to get data.
I have a System.Timers.Timer that updates my win form application components in every 5
I have an application (winform exe) that I run several times. Does this mean
I have an existing library (not a Winforms application) that supplies some Winforms to
I currently have an application that sends XML over TCP sockets from windows client
I am busy developing an C# win form application, that draws a graphical representation
I have a winform application that goes with name myForm . Within this form
I have a winform application that contains a c# webbrowser control.Webbrower control load a
I have an c# winform application that runs under a local account but needs
We have an in house winform application that is used by about 20 users

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.