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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:49:14+00:00 2026-05-30T04:49:14+00:00

I am writing an Outlook Addin using AddIn Express . I use Delphi, anyway

  • 0

I am writing an Outlook Addin using AddIn Express.

I use Delphi, anyway the problem relates to everyone writing Outlook AddIns so i include c# in the tags.

var
  MItem: _MailItem;
  [...]

  if OutlookApp.ActiveExplorer.Selection.Item(i).QueryInterface(IID__MailItem, MItem) = 0 then
  [...]

this lines fires an exception at customer end. The problem is that if on that customer outlook i try to see the message details (in outlook 2010 i open the message i go on File tab in ribbon and then i click on properties) I got this:
Comparison Betwwen Two Outllooks.

If I save the problematic message as msg file and i move it to my local outlook (dragging it in some folder so it becomes “one of my emaii messages”) I open the properties and i can see the headers.

So somehow there is an issue with that particular Outlook installation. Is it an issue or is it a Outlook setting? I also noticed that there are 3 types of behaviour:

1) message is fine (at my end all messages are “fine”, while at customer’s end only some of them are fine. By fine I mean: Internet hedaers are complete)

2) message is not perfect (on some messages the internet headers are incoplete, for example Message-ID headers is missing – in this case anyway the above code works)

3) message is bad (no headers as in screenshot and the code fails).

One more thing: sending a message at customer end to the customer address (so sender = reciever) i see that on sent folder the message is “bad” and on inbox the same message is fine.

Can anyone help me shedding some light on this?

Edit: I noticed that at my end even if I see the hedaers the exception still throws. I am even not able to see the exceptino message. This is probably because of addin express (i have the non source code version).

  • 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-30T04:49:16+00:00Added an answer on May 30, 2026 at 4:49 am

    The message doesn’t get an internet header until it leaves your corporate email setup, hence the name.

    What’s stored in your Sent Items is not the same as what has gone out into the world

    Have you tried troubleshooting the exception with AddIn Express? If you give them enough info to repro the problem they will surely help you? It’s probably a NullReferenceException anyway is it?

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

Sidebar

Related Questions

I'm writing an Outlook AddIn which is supposed to offer a new special folder
We are writing a contact syncing application for Outlook using .Net 3.0. We're using
I am writing an add-in for Outlook using C#. Is there are way to
I am writing an Outlook 2007 addin. All I am doing is: private void
I am writing an Outlook addin that inserts content into an email, and I
I'm writing a addin for outlook which has some network code for API calls,
Writing a python program, and I came up with this error while using the
Writing an asynchronous Ping using Raw Sockets in F#, to enable parallel requests using
Im writing an Outlook Add-in to file emails acdcording to certain parameters. I am
I'm working on re-writing a WinForms application into Silverlight. One use case in the

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.