Messages from other profiles

Z

Zdravko

Hi all
I am using OUTLCTL.DLL for displaying messages in my own window.

How to display messages when I have folders like this:

Profile1
Inbox
MyMail
....

Profile2
Inbox
MyMail
....

OUTLCTL property "Selection.Item(1)" will return object only from Default
profile.
Is there option to see messages for all Folders/Profiles, not only for
Default?

Or Maybe I am using "Folder" property on wrong way:
ViewCtl.Folder = "Folder.EntryID" <- From Redemption, it is Hex
representation of Folder id

Thank you
Zdravko
 
Z

Zdravko

When I open Outlook, select folder from other profile,
and then return to myApp and select same folder (in fact, run this code:
ViewCtrl.Folder = "Folder.EntryID" <- From Redemption,
then messages are displayed.

Why is that?
How can I write my code to connect to the each Profile?

Thanks
Zdravko
 
Z

Zdravko

Hi
how can I add folder(s) from Personal Folders1 to Personal Folders2 by code?

Thank you
Zdravko
 
S

Sue Mosher [MVP]

Outlook doesn't provide any technique for adding another mailbox to the
folder list programmatically. I think it can be done, though, with the
Profman library included with the third-party Outlook Redemption library.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top