Free Microsoft Outlook Resources & Whitepapers

moving email to subfolder

Hi. I have a macro (generously donated by Ken) which I have adapted to move a
throw-away email that I am sending to a temporary folder. The line:
objInbox.Folders("Temp Sent") does the job, but the folder is not in the
right place. I would like this Temp Sent folder to be a subfolder to the
standard Sent Items folder. Any ideas on the change to the syntax? Thanks.


Post your answer or comment

comments powered by Disqus
Hi,

I have a user with Outlook 2k3. Outlook reads/mail delivers to the users
mailbox from Exchange. Under the Inbox are created subfolders. When an
email comes in to the Inbox, the user moves (rt click email, dialogue box,
selects Move..., finds the subfolder, selects OK) the email to a subfolder.
The email does move, however, 2-3 days later the email is gone....

Here is what I have checked:

- AutoArchive is set, but has a 14 day run, with 6 month setting
- There are no Outlook Rules or Server side rules (didn't see any for this
user)
- the email is not showing up in the deleted items folder...eeck!

Any ideas? I am really stumped...

thanks,

Mel

Hi,

Here is my environment: Exch 2k3 (sp2), all clients use Outlook 2k3 (cached
mode, all Office updates applied). Archive pst only...no other local pst.

Problem: I have two users (different departments) that have a problem when
moving email from the Inbox to a subfolder under the Inbox. When the email
is moved (either dragged and dropped or rt. click, move) the email will show
for about a day and then dissappears. I have tried searching the dumpster
for the email and it is not present. It appears to be performing some kind
of hard delete...

Has anyone heard of this? If so, any suggestions as to a fix?

thx in advance,

Jim

I am using Exchange 2003 SP1 with Outlook 2003 SP1 and I have 2 server side
rules set to move email to two folders (CatalogOrders and CatalogRequest).

The Catalog Request rule should be moving email to the CatalogRequest folder
but instead moves the email to the CatalogOrders folder. When I delete the
Catalog Request rule the email still gets moved to the CatalogOrders folder
and not to the inbox.

Any thoughts on why the Catalog Request are being moved to the Orders folder
and why after deleting the CatalogRequest rule the email is not being
redirected back to the inbox?

Thanks
Jim Edwards
Network Technology Resources

--
Thank for your help in advance.

Before my laptop was re-imaged I was always able to see the last folders that
I had moved emails to from my inbox. I am no longer able to see this. Please
advise.

I have 3 different email accounts I have set up. I don't have any problems
with moving emails to the correct folders using rules except when I send
emails. I want to move sent item to the correct Sent folder not just a copy
of it. Rules only allow me to send a copy of the email.

how can i move emails to shared files as a way to help manage my mailbox size?

I have some filters that move emails to different folders based on subject
lines and addresses.

They were all working fine, until all of a sudden, none of them were moving
mail to other folders...the mail would come in, be moved from the inbox, but
not show up in the other folders, effectively deleting my mail.

No changes were made by me overtly, so something must have changed
internally (registry, file structure, etc) that prevents proper mail transfer
to other folders.

I have run "office diagnostics" and no issues were found. I also changed one
of the rules to "move a copy, then delete", which seems to work, but Id
rather understand what the issue is before going through all my 50 or so
filters and making some hack change.

any help would be much appreciated.

thanks

-avi

I'm looking for help on a frustrating little issue that is affecting our CEO.

The Outlook 2003 delete key is not moving email to the deleted items folder. The email just stays in the inbox. After pressing delete a second time on the email it will permanently delete it from the mailbox. Outlook is connecting to an exchange server on the internal network. I verfied that the deleted items folder is empty. Also, the delete key does move items from the sent emails to the deleted items folder so it seems like its just the inbox that is affected. Thank you.

Previously, when new items arrived and rules automatically moved them to
subfolders within my PST, the folders would automatically expand in the
folder tree on the left sidebar. Ever since getting a new computer, I receive
new e-mails and they are automatically moved to the correct subfolder, but
the tree does not expand to show me the subfolder in bold (denoting new
messages). Instead, I see only my "top-level" folders and cannot tell that a
new message is in a subfolder until I manually expand the folder.

Is there a setting that I need to change to make this happen again?

I am currently using Outlook 2003 (11.8206.8221) SP3.

I am unable to move emails to designated folders manually. Every time I
highlight the email, and proceed to the "move to folder" command nothing
happens. I have attempted everythign I know to fix this problem with no luck.
Other than that the computer and the program are working well. Can anyone
help, give me directions on how to fix this problem? Thanks in advance for
the guidance.

I am new to this and really need some help. I am trying to create an add in to move emails to a specific folder. I have found some code but haven't been having any luck getting it to work. I also would like the email to be moved to a created folder in outlook that is on the same level as Inbox, Outbox, Sent Items. So ex: instead of to "CA" as in my code I would like it to go to Managed Folder / Pay Stub. Any help is greatly appreciated!!!

Sub AddOutlookRule()
Dim colRules As Outlook.Rules
Dim oRule As Outlook.Rule
Dim oMoveRuleAction As Outlook.MoveOrCopyRuleAction
Dim oFromCondition As Outlook.ToOrFromRuleCondition
Dim oInbox As Outlook.Folder
Dim oMoveTarget As Outlook.Folder

'Specify target folder for rule move action
oInbox = Application.Session.GetDefaultFolder(Outlook.OlDefaultFolder s.olFolderInbox)
'Assume that target folder already exists
oMoveTarget = oInbox.Folders("CA")

'Get Rules from Session.DefaultStore object
colRules = Application.Session.DefaultStore.GetRules()

'Create the rule by adding a Receive Rule to Rules collection
oRule = colRules.Create("Pay rule", Outlook.OlRuleType.olRuleReceive)

'Specify the condition in a ToOrFromRuleCondition object
'Condition is if the message is from "Joe Smith"
oFromCondition = oRule.Conditions.From
With oFromCondition
.Enabled = True
.Recipients.Add("Joe Smith")
.Recipients.ResolveAll()
End With

'Specify the action in a MoveOrCopyRuleAction object
'Action is to move the message to the target folder
oMoveRuleAction = oRule.Actions.MoveToFolder
With oMoveRuleAction
.Enabled = True
.Folder = oMoveTarget
End With

'Update the server and display progress dialog
colRules.Save()
End Sub


I am only able to move email from my inbox to any folder when I am online. I have fully downloaded the emails which I have seen as the only recommendation.

The emails not fully loading is an annoyance unto itself but I have learned to live with it by going online getting the message, putting myself offline to mark them, and then going back online to fully download just so I am able to work with the emails.

This is for Outlook 2007 and I don't remember this happen in 2003.

When I had computer problems and my hard drive was wiped clean and then Outlook was reload - I ended up having to mark them all over again!! Though they did stay in their folders.

Is it possible to move emails to folders when in offline mode?

hi am on outlook 2010, I have a rule to move emails to a folder. I setup auto archive to keep only a days worth then delete the rest but it does not run?
did I not do the archive right? I only want to keep 1 days worth of emails then autodelete the rest, how to I do that?

Outlook 2007 on Exchange 2010- We have a number of shared mailboxes that multiple people work out of for workflow purposes. Most people have the ability to read full details, delete all items, create items, create subfolders, and edit all. To process an email in the shared mailbox, the user will move an email from the inbox to a work in progress folder (still in the shared mailbox). Once the task is completed, the user moves the email to a completed folder (again, still in the shared mailbox). Note that we were told in order for people to move emails to folders in the shared mailboxes, they had to have delete all authority. Lately we have been having a few incidents where a person will accidentally move an email from one of the shared mailboxes to their own mailbox. The email effectively disappears from the shared mailbox and we can't trace it anywhere. Recently, we have "misplaced" a critical email. We are seeking suggestions on how to allow people to move emails within the shared mailbox, but prevent them from moving emails to outside of the shared mailbox. We would hate to lock down moving period because the inbox would become confusing and extra burden would be placed on one person to be the only one to move emails. Thoughts, comments, suggestions would be appreciated. Thanks in advance.

I have a number of Outlook folders where I move messages to keep
organized. One of them is for client messages. It has several
subfolders. The structure looks like this:

Inbox
Junk email
Messages, Business
Associations
Clients
Smith (contains 6 emails)
Jones
Colleagues
Messages, Friends
Messages, Family
Outbox
Sent Items

I was recently working on the Smith case. I moved 6 emails from the
inbox to the Smith folder (under Clients). I do this when I am working
on a case. When I am done, I move them to the Clients folder and
delete the case folder.

For some reason, Outlook will not let me move these 6 emails from
Smith to the parent folder (Clients).

If I select them and drag then, I get the little cursor icon that
looks like they are bneing moved, but they don't move. If I try to
right click and select Move to Folder, the Clients folder is alfready
selected and nothing happens. It as if Outlook thinks they arfe
already in Clients.

What have I done wrong?

How can I get these moved?

I have a number of Outlook folders where I move messages to keep
organized. One of them is for client messages. It has several
subfolders. The structure looks like this:

Inbox
Junk email
Messages, Business
Associations
Clients
Smith (contains 6 emails)
Jones
Colleagues
Messages, Friends
Messages, Family
Outbox
Sent Items

I was recently working on the Smith case. I moved 6 emails from the
inbox to the Smith folder (under Clients). I do this when I am working
on a case. When I am done, I move them to the Clients folder and
delete the case folder.

For some reason, Outlook will not let me move these 6 emails from
Smith to the parent folder (Clients).

If I select them and drag then, I get the little cursor icon that
looks like they are bneing moved, but they don't move. If I try to
right click and select Move to Folder, the Clients folder is alfready
selected and nothing happens. It as if Outlook thinks they arfe
already in Clients.

What have I done wrong?

How can I get these moved?

Hi all,

I have been stressing over this for three days now and i just can't figure
it out;

I have a shared mailbox attached to my folder list in Outlook 2007 called
Solutions-AU.
I want to be able to select any email from this mailbox's inbox folder then
click a macro button which will create a task, attach the email as an
attachment to this task, as well as fill the task with the email body. This
task needs to go to a sub-task of the above mentioned mailbox, ie August-08.
The same macro needs to them move the email in question to a sibling folder
of the same mailbox (not an inbox subfolder).
I have managed to put together the below macro which only works fine for
items within my own mailbox (GabrielD) but the Task is created in my own Task
folder (can't get it to go into a sub-task) and the email gets moved only in
subfolders of my own Inbox. please please please help!!!

Thank You so much.

Public Sub CreateTaskFromItem()

Dim olTask As Outlook.TaskItem
'Using object rather than MailItem, so that it can handle posts, meeting
requests, etc as well
Set ns = ThisOutlookSession.Session
Dim olItem As Object
Dim olExp As Outlook.Explorer
Dim fldCurrent As Outlook.MAPIFolder
Dim olApp As Outlook.Application
'Set Folder = ns.PickFolder

Set olApp = Outlook.CreateObject("Outlook.Application")
Set olTask = olApp.CreateItem(olTaskItem)
Set olExp = olApp.ActiveExplorer

Dim cntSelection As Integer
cntSelection = olExp.Selection.Count

For I = 1 To cntSelection
Set olItem = olExp.Selection.item(I)
olTask.Attachments.Add olItem
olTask.Body = olItem.Body
olTask.Subject = olItem.SenderName & " - " & olItem.Subject
Next

olTask.Display
'Set the due date for today
olTask.DueDate = Date
'Set the reminder for 4 hours from now
olTask.ReminderSet = True
olTask.ReminderTime = DateAdd("h", 4, Now)

'Saving the task item, so that in case I close it, I won't lose
'the items which were deleted after being attached to the task
'olTask.Save

'Sub MoveSelectedMessagesToFolder()

On Error Resume Next
Dim objFolder As Outlook.MAPIFolder, objInbox As Outlook.MAPIFolder
Dim objNS As Outlook.NameSpace, objItem As Outlook.MailItem
Set objNS = Application.GetNamespace("MAPI")
Set objInbox = objNS.GetDefaultFolder(olFolderInbox)
Set objFolder = objInbox.Folders(".Archive")
'Assume this is a mail folder
If objFolder Is Nothing Then
MsgBox "This folder doesn't exist!", vbOKOnly + vbExclamation,
"INVALID FOLDER"
End If
If Application.ActiveExplorer.Selection.Count = 0 Then
'Require that this procedure be called only when a message is selected
Exit Sub
End If

For Each objItem In Application.ActiveExplorer.Selection
If objFolder.DefaultItemType = olMailItem Then
If objItem.Class = olMail Then
objItem.Move objFolder
End If
End If
Next

Set objItem = Nothing
Set objFolder = Nothing
Set objInbox = Nothing
Set objNS = Nothing
End Sub

Outlook 2007 on Exchange 2010- We have a number of shared mailboxes that multiple people work out of for workflow purposes. Most people have the ability to read full details, delete all items, create items, create subfolders, and edit all. To process an email in the shared mailbox, the user will move an email from the inbox to a work in progress folder (still in the shared mailbox). Once the task is completed, the user moves the email to a completed folder (again, still in the shared mailbox). Note that we were told in order for people to move emails to folders in the shared mailboxes, they had to have delete all authority. Lately we have been having a few incidents where a person will accidentally move an email from one of the shared mailboxes to their own mailbox. The email effectively disappears from the shared mailbox and we can't trace it anywhere. Recently, we have "misplaced" a critical email. We are seeking suggestions on how to allow people to move emails within the shared mailbox, but prevent them from moving emails to outside of the shared mailbox. We would hate to lock down moving period because the inbox would become confusing and extra burden would be placed on one person to be the only one to move emails. Thoughts, comments, suggestions would be appreciated. Thanks in advance.

Hi There.
I have exchange 2000 server and i need to move emails to exchange 2003 but i will install exchange 2003 on the same server after format.
plz tell me the best way to make it.
thank you and best rgards

How can I create a rule to move a specified incoming email to a non-Outlook drive on my LAN? ... in a readable format such as a WordPad or .TXT document? Creating the selection rule is easy. I just need to know how to move an email from Outlook 2003 to a LAN drive (or even to my C: drive) .

Well, i have rules set up to filter emails to different folders by the "To:" field. When I send an email to 1 of my addresses, and CC to another, it doesn't filter the CC to the specified folder. I tried to set up the rule where it mentions the "CC field," but I'm not sure what it means by "If my name is in the CC box." Like which name will it need to identify in order for it to move it to the specified folder.

If anyone could help me out, that would be great, thanks.

We are using Outlook 2000 SR-1 on an Exchange server. I had several
Personal Folders and a series of Rules to move incoming emails to the
appropriate folders. Yesterday, I added a few new folders to the Personal
Folders and a couple of rules using the Rules Wizard.
Now the Personal Folders stopped working. I cannot drag & drop email
from the inbox to a Personal Folder - I get the message "Can't move the
items. The item could not be moved. It was either already moved or deleted,
or access was denied". When a new email arrives, the Organize Rules try to
move it and returns a message " Rules in Error. Cannot move to the "News
Items" folder".
I'm sure I inadvertantely changed something or re-set a paraameter.
All I did with the Properties was to delete the Home Page reference. Does
anyone have any suggestions for how I can open the Personal Folders for new
emails?
Thanks very much -
--
Curt Marlatt
(Professor Curt)

Hi,

I am using Outlook 2003 + Exchange 2003. Is it possible to move emails from
a specific email address to another mailbox?

regards, Pl3

Hoping that someone can offer some advice on this problem.

Outlook exhibits very strange behaviour when using rules to emails to public
folders based on various criteria. For example, I can create a rule (and
have successfully creates several rules) that moves a email to a public
folder based on a particular text string in the message body. Then I create
an identical rule based on different text, and I find that I can't select a
destination folder in the public folder. It's crazy, it's the exact same
rule. Then I check an original rule that was working fine and find that I
can't select an alternative public folder. It's like access to public
folders in not available to all rules, even to some rules that are the same
as other rules.

Permission to folders are all set appropriately. Not sure what's going on.
Andy advice?

--
Dab

Cut off: yourhead to respond


Not finding an answer? Try a Google search.