PDA

View Full Version : Adding another shared folder to watch for new emails



josros6031
09-21-2021, 09:11 AM
Hi,

I have the email below to have alert when new email arrived in this shared folder, how can I add another shared folder to get alerts for new emails.

her is the code i have in ThisOutlookSession:


'=========MONITOR NAVIGATA AP MAILBOX===
Set Ns = Application.GetNamespace("MAPI")
Set Items = GetFolderPath("Navigata AP\Inbox").Items

thank you

gmayor
09-21-2021, 08:46 PM
Why don't you create a rule to alert when messages arrive in that account?

josros6031
09-22-2021, 08:42 AM
Hi,

I tried that but because is a shared mailbox don't full access but the one in post # 1 am able to use it that way, but tried to add same format different shared mailbox like Inbox/Janine but give an error.

thank you