Hi,
I'm using VBA to create an approval workflow. Each user has their own (default) Outlook Information store (e.g. "Mailbox - Bloggs, Joe") which is a .pst store. In addition, they all have shared access to an Exchange Server store ("Mailbox - Inspection").
When they click a button, creating an email, I want to switch them to the shared mailbox so that all replies are sent to the shared mailbox (if someone is off sick, another member of the team can pick up the issue).
As far as I can see, whenever a mailitem is created e.g.
The mail is created in the default (personal) mailbox.
Is there a way to force the mail item to be created in the shared folder so that the 'From' field shows 'Inspection' (I've written the VBA code to find the shared mailbox and assign it to an object variable)
Many thanks,
David
I'm using VBA to create an approval workflow. Each user has their own (default) Outlook Information store (e.g. "Mailbox - Bloggs, Joe") which is a .pst store. In addition, they all have shared access to an Exchange Server store ("Mailbox - Inspection").
When they click a button, creating an email, I want to switch them to the shared mailbox so that all replies are sent to the shared mailbox (if someone is off sick, another member of the team can pick up the issue).
As far as I can see, whenever a mailitem is created e.g.
Code:
Set objMail = objApp.CreateItem(olMailItem)
The mail is created in the default (personal) mailbox.
Is there a way to force the mail item to be created in the shared folder so that the 'From' field shows 'Inspection' (I've written the VBA code to find the shared mailbox and assign it to an object variable)
Many thanks,
David