Outlook default and redirection to pst

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.
HStrix
HStrixAsked:
Who is Participating?
 
Neo_mvpsCommented:
I'm no good at C/C++ but you can try the MAPI-L list at http://peach.ease.lsoft.com.  The interface you are after is IProfAdmin.  (In order to search the archives, you will have to join the list.)
0
 
Neo_mvpsCommented:
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++.
0
 
HStrixAuthor Commented:
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?
 
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
HStrixAuthor Commented:
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?
 
0
 
HStrixAuthor Commented:
Thanx, I will do several checks.
0
 
HStrixAuthor Commented:
Thank you Neo_mvps, due to your hint I came to the information I needed.
I found the required info at
---
http://peach.ease.lsoft.com./scripts/wa.exe?A2=ind0105&L=mapi-l&P=R13198&m=12463
---
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.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.