How to get the path from an outlook.Inspector

Status
Not open for further replies.
B

blackjazz

When I open a outlook message in the windows explorer, my office plug-in will

be started with outlook application. I register my event handler for

Outlook.Application.Inspectors.NewInspector. And try to get the full path of

the message file in the handler function. I want to know where this message

file comes.

But I have no idea about how to get the full path. Does anyone meet the same

problem?
 
Once the item is opened in Outlook there's nothing in the object model that

would tell you where it originally was stored as a file.

"blackjazz" <blackjazz> wrote in message

news:61D09A9A-A30F-45AF-A13C-38F71BBEA348@microsoft.com...
> When I open a outlook message in the windows explorer, my office plug-in
> will
> be started with outlook application. I register my event handler for
> Outlook.Application.Inspectors.NewInspector. And try to get the full path
> of
> the message file in the handler function. I want to know where this
> message
> file comes.
> But I have no idea about how to get the full path. Does anyone meet the
> same
> problem?
 
Thanks! So I have to get the full path of a message file through other ways.
wrote:


> Once the item is opened in Outlook there's nothing in the object model that
> would tell you where it originally was stored as a file.

> >

>

> "blackjazz" <blackjazz> wrote in message
> news:61D09A9A-A30F-45AF-A13C-38F71BBEA348@microsoft.com...
> > When I open a outlook message in the windows explorer, my office plug-in
> > will
> > be started with outlook application. I register my event handler for
> > Outlook.Application.Inspectors.NewInspector. And try to get the full path
> > of
> > the message file in the handler function. I want to know where this
> > message
> > file comes.
> > But I have no idea about how to get the full path. Does anyone meet the
> > same
> > problem?


> .
>
 
So if I want to locate the message file which is from local disk. How?

Thanks!
wrote:


> Once the item is opened in Outlook there's nothing in the object model that
> would tell you where it originally was stored as a file.

> >

>

> "blackjazz" <blackjazz> wrote in message
> news:61D09A9A-A30F-45AF-A13C-38F71BBEA348@microsoft.com...
> > When I open a outlook message in the windows explorer, my office plug-in
> > will
> > be started with outlook application. I register my event handler for
> > Outlook.Application.Inspectors.NewInspector. And try to get the full path
> > of
> > the message file in the handler function. I want to know where this
> > message
> > file comes.
> > But I have no idea about how to get the full path. Does anyone meet the
> > same
> > problem?


> .
>
 
That depends on what language and development platform you are using. If you

have no idea where the file was stored you will need to recursively search

everywhere in the file system. That sort of code is completely out of scope

for an Outlook group. Try asking in an appropriate language or platform

group and make sure to provide enough information so someone can answer you.

"blackjazz" <blackjazz> wrote in message

news:B9EAD8A2-215B-4F4B-8CCE-7CCC8AD675A8@microsoft.com...
> So if I want to locate the message file which is from local disk. How?
> Thanks!
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Outlook VBA - moving mail item to public folder using variable within path Using Outlook 6
D RE: How do you change the default insert file path in outlook? Using Outlook 11
A How to change mail path in outlook Outlook VBA and Custom Forms 7
N error when copying outlook data "can not copy: the path too deep" Using Outlook 6
Witzker Outlook 2019 HELP to get Template Path in a Function Outlook VBA and Custom Forms 2
B BCC issues after changing root folder path for gmail Using Outlook 1
R VBA | Chosing path to save file Outlook VBA and Custom Forms 1
G [Help] Converting array to destination folder path Outlook VBA and Custom Forms 1
Frédéric Save E mail using different path. Outlook VBA and Custom Forms 24
H "Advanced find: column for full folder path? Using Outlook 1
C Force account selection - no reg path nor can create one Using Outlook 9
T Contacting <Server Name and Path> for Information When Adding Attachments Using Outlook 0
Z how to change the path of all my .PST files? Using Outlook 1
K Get folder path where an account stores messages Outlook VBA and Custom Forms 5
A Eseutil File Dump fails in the path to the file is too long... Exchange Server Administration 2
A path of documents can't be found BCM (Business Contact Manager) 1
S Script w/relative path that sends absolute path to a folder to theclipboard? Outlook VBA and Custom Forms 3
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 0
Victor_50 Problem - Google Workspace will stop "unsafe" access to Outlook end 2024 Using Outlook 3
C New pc, new outlook, is it possible to import auto-complete emailaddress Using Outlook 2
T Outlook 365 won't take new working password Using Outlook 0
S Create Outlook Task from Template and append Body with Email Body Outlook VBA and Custom Forms 4
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
B Sync Outlook Public Folders to Contacts Using Outlook 2
D Delete Outlook emails from MS server Using Outlook 9
B Outlook tasks and PDF Using Outlook 4
D Outlook 2019 is no longer asking for password ... Using Outlook 5
Kika Melo How to mark as Junk any message not from Contacts (in Outlook.com) Using Outlook 3
L Outlook attachments from OneDrive as links Using Outlook 0
G Outlook 365 My iCloud Outlook doesn’t work after reinstalling Microsoft365 on Windows 10 PC – now I get error message on contacts and calendar Using Outlook 1
T How to Export & Import GMAIL Contacts into Outlook 2021 ? Using Outlook 4
M Synchronization and backup of Outlook from local to server. Using Outlook 8
T How to get an EVENT COLOR option in Outlook 2021 ? Using Outlook 0
K How can I delete an e-mail from Outlook Using Outlook 1
V Outlook Error The Attempted operation Failed. An Object Could Not be found Outlook VBA and Custom Forms 0
P Yahoo/IMAP folder rename by Outlook desktop 365 Using Outlook 0
A Outlook 2019 folder counter Using Outlook 0
A Relocate Search Bar in Outlook Using Outlook 2
e_a_g_l_e_p_i Need clarification on 2-Step Verification for Gmail using Outlook 2021 Using Outlook 10
L Opening People Outlook 2021 Using Outlook 2
e_a_g_l_e_p_i Outlook 2021 not letting me setup my Gmail using pop Using Outlook 1
Geldner Problem submitting SPAM using Outlook VBA Form Outlook VBA and Custom Forms 2
P VBA to add email address to Outlook 365 rule Outlook VBA and Custom Forms 0
M Outlook 2016 outlook vba to look into shared mailbox Outlook VBA and Custom Forms 0
P Can no longer sync Outlook with iPhone calendar after iPhone update to 17.1.1 Using Outlook 7
O Outlook - Switch from Exchange to IMAP Using Outlook 2
e_a_g_l_e_p_i Is it possible to have a reminder in Outlook 2021 for every 90 days Using Outlook 3
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
C Advanced search terms for "Outlook Data File" Using Outlook 1
N Reply to Outlook messages by moving messages to a specific Outlook folder Outlook VBA and Custom Forms 1

Similar threads

Back
Top