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 6359165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T23:28:56+00:00 2026-05-24T23:28:56+00:00

I am trying to add an HTML link with an image as the anchor,

  • 0

I am trying to add an HTML link with an image as the anchor, but when I hit send, Outlook automatically embeds the image in the email which makes it more susceptible to being caught as spam.

Basically when I add the email, I get the results this guy was looking for by default, but with less code (granted he wanted to add the image AFTER the signature)

Here’s my code:

var doc = Globals.ThisAddIn.Application.ActiveWindow().WordEditor;
var pic = doc.Application.Selection.InlineShapes.AddPicture("MY IMAGE URL", true);
doc.Application.Selection.Hyperlinks.add(pic, "MY URL");

This adds the picture, looks great and the picture shows up right when the user opens the email (without having to Allow images) but I’ve been warned that embedded images get caught as spam a lot, and I’ve seen a number of the sent emails end up in spam boxes.

Is this true that an embedded image is likely to be caught as spam (I find that weird cause this is the default way outlook handles when you insert some image/chart etc etc)?

How can I insert an image like standard HTML (with the image not being embedded in the actual email, even if that means the recipient has to allow the image to be shown)? I would rather them get the email than have it end up as spam.

  • 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-05-24T23:28:57+00:00Added an answer on May 24, 2026 at 11:28 pm

    Yes it is true that spam filters are likely to mark your mails as junk unless your email is on a whitelist. The reason is that spammers switched to putting their (spam)text into one big image and send that to avoid detection. More about image spam can be found here on wikipedia

    I’m would expect VSTO to honour this as well but I’m not sure. The default behavior in outlook is to embed all images. You can overrule this by changing a registry setting (outlook 2010)

    In key HKCU\Software\Microsoft\Office\14.0\Outlook\Options\Mail\
    Add a REG_DWORD named "Send Pictures With Document"
    Set the value to 0 
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to add an html link to a website but the website
I am trying to add a html snippet dynamically which contains named anchors and
I'm trying to add an image to a generated html word document that is
Hi I am trying to add background image to my link. The image contains
I am trying to add gradient on only .link.box.gradient but in ie7 it add
I'm trying to add html code inside a <span id=options></span> so I'm trying to
I'm trying to add some HTML formatted text to Word using Office Interop. My
I am trying to add a .html suffix at the end of all strings
I'm trying to add overflow to an HTML element, and of course it works
I'm trying to add .css and .js file in my HTML template files that

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.