Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing Information Store in Outlook

Status
Not open for further replies.

cardiac

Technical User
Feb 19, 2004
31
0
0
GB
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.

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



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top