Newbie question

  • Thread starter Thread starter Collette
  • Start date Start date
C

Collette

I'm looking for a way how to do this:

As soon as I press the send button I want to be asked if the mail must also
be copied to the send items folder belonging to another user. (we have a
sbs2003 server with exchange running). So when pressing Yes the mail will go
to my own send items folder and to the send items folder of the user
info@vvv...
And if I press the No button it will simply go to my own send items folder
only.

Have been looking for sample code on the internet for several day's already
but I can not find any usefull samples. Please somebody help.

tia,
Charles
 
Hi Collette. Usuall, when you need to access other user's mail folders, you
use the Delegation feature. However, access to the Sent Items folder can't
be delegated to other users.

The only way to do what you want is to have your account granted at least
Write Access (maybe Full Mailbox Rights) to the user's mailbox that contains
the Sent Items folder you need to copy messages into. You'd also need to use
CDO instead of the Outlook Object Model in order to login with a dynamic
profile so that you can get programmatic access to their mailbox hierarchy.

See here for more info about CDO:

Using Collaboration Data Objects (CDO) in Microsoft Outlook and Microsoft
Exchange Programming:
http://www.outlookcode.com/d/cdo.htm
 
Back
Top