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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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?
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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

SuperAntiSpyware Licenses Discounted by 25% !

Exclusive offer to Experts Exchange Members!
Buy SuperAntiSpyware License(s) from us and save 25% on the regular purchase price.
- Includes Full SuperAntiSpyware Vendor Support Entitlements
- Your Subscription does not begin until you activate your license
- Buy for your friends

Question has a verified solution.

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

Suggested Solutions

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…
Read this checklist to learn more about the 15 things you should never include in an email signature.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

752 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