A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - General Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook--Sending a Copy of a Message to a Specific Folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 20th 06, 11:22 PM posted to microsoft.public.outlook
[email protected]
external usenet poster
 
Posts: 2
Default Outlook--Sending a Copy of a Message to a Specific Folder

I have gone through most of the posts but have not found satisfactory
solution for the following problem:

- I want to copy the sent email to a specific folder, instead of
'Sent Items'.

I have multiple folders under "Mailbox- user id" tree and have
also created archive PST folders which are shown outside the
"Mailbox- user id" tree. I found code at the following site:
http://www.outlookcode.com/d/code/setsavefolder.htm

This does everything I want except, when I specify the pst folder, it
does not copy the sent email to the specified folder under pst folder.
If I specify folder under the "Mailbox- user id" tree it works
perfectly. The description states that it should work for folders and
pst files but it does not seem to work for pst folders.


Can anybody help?

Thanks

Umesh

Ads
  #2  
Old February 20th 06, 11:46 PM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook--Sending a Copy of a Message to a Specific Folder

Quoting from the page you cited:

The folder must be in your default information store -- Exchange mailbox or PST file. The IsInDefaultStore() function tests for this. If you need to move items to a different folder, the solution would be to use the ItemAdd event on the Sent Items folder's Items collection and move items to the desired folder. See http://www.outlookcode.com/codedetail.aspx?id=456 for a code sample that demonstrates how to work with that event.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


wrote in message oups.com...
I have gone through most of the posts but have not found satisfactory
solution for the following problem:

- I want to copy the sent email to a specific folder, instead of
'Sent Items'.

I have multiple folders under "Mailbox- user id" tree and have
also created archive PST folders which are shown outside the
"Mailbox- user id" tree. I found code at the following site:
http://www.outlookcode.com/d/code/setsavefolder.htm

This does everything I want except, when I specify the pst folder, it
does not copy the sent email to the specified folder under pst folder.
If I specify folder under the "Mailbox- user id" tree it works
perfectly. The description states that it should work for folders and
pst files but it does not seem to work for pst folders.


Can anybody help?

Thanks

Umesh

  #3  
Old March 3rd 06, 10:47 PM posted to microsoft.public.outlook
[email protected]
external usenet poster
 
Posts: 2
Default Outlook--Sending a Copy of a Message to a Specific Folder

Thanks. But the folder is a PST folder. So how do i make the archive
PST folder in "default information store".

Umesh

  #4  
Old March 4th 06, 02:44 AM posted to microsoft.public.outlook
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Outlook--Sending a Copy of a Message to a Specific Folder

Sorry, but your last statement seems to be missing a verb or something. Could you try to rephrase it?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


wrote in message ups.com...
Thanks. But the folder is a PST folder. So how do i make the archive
PST folder in "default information store".

Umesh

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error message when sending message in Outlook Vikes Outlook - General Queries 0 February 17th 06 11:02 PM
Send an email copy to folder [email protected] Outlook - General Queries 3 February 16th 06 03:44 PM
Replys sent to a specific folder? Bob Newman Outlook - General Queries 6 February 7th 06 05:25 PM
deliver mails to a specific account mireillea Outlook - General Queries 0 February 2nd 06 01:31 PM
How to create a hidden message in a folder Davide Outlook - General Queries 4 February 1st 06 04:38 PM


All times are GMT +1. The time now is 02:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.