How to save an remote mailitem to the local folder?

B

Bingo

My VB6 app first logs on to my Exchange Emailbox. Then
by using GetSharedDefaultFolder method, I retrieve a
mailitem, mapiMailItem, from another person's Inbox. I
make a copy of this mailitem, newMapiMailItem =
mapiMailItem.Copy. When I apply newMapiMailItem.Save,
the copy is saved in the other person's Inbox. I also
tried to first create and save a new mailitem,
localMapiMailItem, in my mailbox. Then set
localMapiMailItem = mapiMailItem.Copy. But the copy is
still saved in the other person's Inbox, not mine. How
do I save the copy in a folder in my Inbox, not the
remote Inbox? Thanks.
 
B

Bingo

Sue,

It works perfect. Thanks so much!

-----Original Message-----
Use the Move method to move the copy to the desired folder.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers






.
 
Top