Set inboxFolder = outNS.GetDefaultFolder(olFolderInbox)
this bit goes to my default inbox but i have a shared inbox how would i get it to take the emails from there . any suggestions be great i have tried a few things my self but no success
Set inboxFolder = outNS.GetDefaultFolder(olFolderInbox)
this bit goes to my default inbox but i have a shared inbox how would i get it to take the emails from there . any suggestions be great i have tried a few things my self but no success
Use either
Namespace.GetSharedDefaultFolder
or (if the mailbox is already open in the current profile), useNamespace.Store
collection to find the right store, then useStore.GetDefaultFolder
.