-
Incoming Mail - Identify Mailbox - Urgent - Please Help
Hi All
I am working on a project to identify incoming mails to any mailbox which is part of a user profile. I have been able to make it work if I explicitly specify the mailbox name. However if I use it on different users, I would have to change the names accordingly. I am looking for a script that can identify dynamically the mailbox receiving the incoming mail and run other routines accordingly.
I seemed to have hit a dead end and would appreciate any help on this.
Thanks in advance.
-
This will identify the mailbox name:
[VBA]
Application.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Parent.Nam e
[/VBA]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules