Good day BP Gurus,
Following another thread on this subject, I was able to modify the Internal_Get Items code in the Outlook VBO to read emails from a shared mailbox using this modification:
But I am not able to read emails from a SUBFOLDER within that shared mailbox. The problem is that all emails the process needs to interact with are within subfolders.
Is anyone of you able to guide me with this?
Thanks in advance!
Following another thread on this subject, I was able to modify the Internal_Get Items code in the Outlook VBO to read emails from a shared mailbox using this modification:
Code:
'Commented out this for use of shared Mailbox
'Dim folder = _nameSpace.GetDefaultFolder(Outlook_Folder_ID)
'Use for functional or shared Mailbox
Dim FMMail = "YOUR FM NAME"
Dim vRecipient = _nameSpace.CreateRecipient(FMMail)
Dim folder = _nameSpace.GetSharedDefaultFolder(vRecipient, Outlook_Folder_ID)
But I am not able to read emails from a SUBFOLDER within that shared mailbox. The problem is that all emails the process needs to interact with are within subfolders.
Is anyone of you able to guide me with this?
Thanks in advance!