Outlook default and redirection to pst

Posted on 2002-03-03
Last Modified: 2011-09-20
Hi experts, I'm connected to an exchange server and I've set my environment (using the mail-applet in the system control) to redirect all incoming mails (when I'm logged in Outlook/Exchange) to my personal folder (i.e. to a pst file).
How can I detect using a vba (or vb) snippet if I've installed that redirection or not?
Using the mail-applet I can do that.
I didn't find the related object-method/property (I expected it being in the folder collection) to detect that.
Thank you for any help.
Question by:HStrix
  • 4
  • 2
LVL 16

Expert Comment

ID: 6837538
vb/vba is not capable of using extended mapi.  if you wanted to read those properties, you would have to develop your solution using Delphi or C/C++.

Author Comment

ID: 6837561
Thank you Neo_mvps, could you provide me an appropriate snippet (C++) making this decision?
Or an referral to one?
In addition, is there a specific object to be used?

Author Comment

ID: 6837646
Thank you Neo_mvps, could you provide me an appropriate snippet (C++) making this decision?
Or an referral to one?
In addition, is there a specific object to be used?
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

LVL 16

Accepted Solution

Neo_mvps earned 50 total points
ID: 6837846
I'm no good at C/C++ but you can try the MAPI-L list at  The interface you are after is IProfAdmin.  (In order to search the archives, you will have to join the list.)

Author Comment

ID: 6838782
Thanx, I will do several checks.

Author Comment

ID: 6842110
Thank you Neo_mvps, due to your hint I came to the information I needed.
I found the required info at
C/C++ or Delphi seems not to be required.
I believe, it CAN be solved using VB (VBA).
But I haven't yet coded it.


Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ASE reports it as spam 2 125
vba excel2010 and 2013 2 38
Where is Outlook in Paperport 14? 8 33
Parsing error when installing an Outlook Add-in 2 19
Learn more about how the humble email signature can be used as more than just an electronic business card. When used correctly, a signature can easily be tailored for different purposes by different departments within an organization.
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
CodeTwo Sync for iCloud ( automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now