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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:07:56+00:00 2026-06-06T18:07:56+00:00

Is there a way of creating an RDOMail instance for a MailItem corresponding to

  • 0

Is there a way of creating an RDOMail instance for a MailItem corresponding to an Outlook message opened from a .msg file?

My usual approach is to get the CurrentItem from the Inspector, cast it to MailItem, retrieve its EntryID and StoreID values, and finally load it from an RDOSession through the GetMessageFromID method.

However, in the case of messages opened from a .msg, the EntryID property returns null. Is there another way around this? I assume I could use the GetMessageFromMsgFile method instead, but how do I retrieve the full path of the message from the MailItem?

P.S. The solution should ideally work with the Outlook 2003 object model.

  • 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-06T18:07:57+00:00Added an answer on June 6, 2026 at 6:07 pm

    You could do two approaches here…

    1. Save the MailItem to disk using _MailItem.SaveAs(). Then use GetMessageFromMsgFile.
    2. Save the MailItem to a Folder (store) to persist it, giving it an EntryID and StoreID. Use MailItem.Save() and MailItem.Move(tempFolder) to persist the MSG to a folder. I typically use a hidden folder for this storage swap. You would need to periodically purge this swap folder on startup or at regular intervals (Outlook has lingering locks, so you better use try/catches).
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way of creating a new setting in the Settings.settings file during
Is there way of creating empty .mo file? Usually when starting new project I
Is there a way to creating an observable from a sequence in F#? The
Is there any way of creating a pmdoc (PackageMaker) project from the command line?
Is there any way creating a photo gallery using Listview control ? Im playing
Is there any other way of creating a conditional execution? way 1 : the
Is there a way to do so including creating an other build-markup function ?
Is there a way to automatically generate a menu item when creating a K2
Rails has no way of creating foreign keys in migrations (there are plugins to
I am creating a Delphi service. Is there any way to use controls derived

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.