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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:09:00+00:00 2026-05-27T00:09:00+00:00

Windows application invokes business logic Business logic creates new e-mail using Exchange Web Services

  • 0
  1. Windows application invokes business logic
  2. Business logic creates new e-mail using Exchange Web Services and returns Entry ID of e-mail to Windows application
  3. Windows application attempts to find and display new e-mail via Outlook Interop based on the Entry ID of the e-mail.

The above doesn’t work when using Cached Exchange Mode. Outlook only checks the local cache for the message, and since it was just created on the server, it won’t be immediately available locally.

However, it works just fine when the account isn’t using Cached Exchange Mode, because Outlook checks the Exchange Server for the e-mail.

So, the question:

How do I ensure that Outlook checks the Exchange Server instead of the local cache, or at least syncs with the server before looking for the message?

Here’s the (simplified) code we use to display e-mails based on their Entry IDs:

void ShowEmail(string entryId)
{
  // (COM release and error handling removed for readability)
  var app = new Microsoft.Office.Interop.Outlook.Application();
  var ses = app.Session;
  var mailItem = 
    (Microsoft.Office.Interop.Outlook.MailItem)ses.GetItemFromID(entryId);
  mailItem.Object.Display(true);
}
  • 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-27T00:09:00+00:00Added an answer on May 27, 2026 at 12:09 am

    You have no control over the upload or sync of the mailbox. See this post. If the user is using Cached Exchange Mode – they can’t use this feature.

    If you have access to the registry – you could try disabling Cached Exchange Mode, and then re-enabling it. See this post which modifies the registry to enable/disable CEM.

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

Sidebar

Related Questions

I wrote an application in WPF / VB and separated the business logic and
I try to add an addons system to my Windows.Net application using Reflection; but
I would like to end a certain Windows application gracefully, without using a mouse
Background Currently I have a C# Silverlight business application which uses RIA Services. The
I am creating a C# Windows Mobile application that I need to programmatically invoke
win32 windows application and want to capture full screen and remove the border of
I have a Windows application that uses a .NET PropertyGrid control. Is it possible
We have a windows application that contains an ActiveX WebBrowser control. As part of
In almost any Windows application, I notice that holding the mouse button down in
I have a managed Windows application that loads a managed C++ component that uses

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.