Sue,
The folder that I was trying with was not in the same Store as my Inbox.
So that was the problem with that. I cannot use a Rule to achieve this
as the folder that I want to save it in has to be determined
dynamically. So unless I can plug in code while defining Rules, I can't
do it.
I am thinking that the only way to do this is through a CDO appliaction.
Is that correct?
TIA,
Amit.
The SaveSentMessageFolder must be in the same store as your default
Inbox.
Where is the folder where you want to keep a copy? Have you thought
about
using a rule to handle this?
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at
http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
Amit Basu said:
Hi,
I have a similar problem. I want to save a copy of an email that I send
to a particular folder in my Public Folders. I can move the message
easily but that's not what I want. I tried this:
Set Item.SaveSentMessageFolder = oFolder
oFolder is evaluated as the correct folder. But this line generates an
Outlook error - The Operation Failed. I don't want to delete anything
from my Sent Items folder. I don't even care whether it gets saved there
as well or not. I do need to save a SENT version of this MailItem in a
specific folder however.
I am using Outlook 2000 with Exchange 5.5.
Any help will be greatly appreciated.
Thanks.
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!