How to get mail into particular folder in outlook
There are several ways to get mail into a particular folder in Outlook:
Method 1: Using Rules
- Open Outlook and go to the "Home" tab in the ribbon.
- Click on the "Rules" button in the "Move" group.
- Click on "Manage Rules & Alerts" in the drop-down menu.
- Click on "New Rule" and select "Move messages from someone to a folder" or "Move messages with specific words in the subject to a folder".
- Specify the conditions for the rule, such as the sender or subject.
- Choose the folder you want to move the mail to.
- Click "OK" to save the rule.
Method 2: Using Quick Steps
- Open Outlook and go to the "Home" tab in the ribbon.
- Click on the "Quick Steps" button in the "Move" group.
- Click on "Create New Quick Step" and select "Move to Folder".
- Choose the folder you want to move the mail to.
- Click "OK" to save the quick step.
Method 3: Using Drag and Drop
- Open Outlook and go to the "Inbox" or the folder where you want to move the mail.
- Select the mail you want to move by checking the box next to it.
- Drag the selected mail to the folder you want to move it to.
- Release the mouse button to drop the mail into the folder.
Method 4: Using the "Move" Button
- Open Outlook and go to the "Inbox" or the folder where you want to move the mail.
- Select the mail you want to move by checking the box next to it.
- Click on the "Move" button in the "Home" tab in the ribbon.
- Choose the folder you want to move the mail to from the drop-down menu.
- Click "OK" to move the mail.
Method 5: Using VBA Macro
-
Open Outlook and go to the "Developer" tab in the ribbon.
-
Click on the "Visual Basic" button in the "Code" group.
-
In the Visual Basic Editor, create a new module by clicking on "Insert" > "Module".
-
Write the following code:
Sub MoveMailToFolder() Dim olApp As New Outlook.Application Dim olNamespace As Outlook.Namespace Dim olFolder As MAPIFolder Dim olItem As Object Set olApp = New Outlook.Application Set olNamespace = olApp.GetNamespace("MAPI") Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox) Set olItem = olFolder.Items("MailItem") olItem.Move olFolder End Sub
-
Replace "MailItem" with the type of item you want to move (e.g. "EmailMessage").
-
Save the module and close the Visual Basic Editor.
-
Go back to Outlook and click on the "Developer" tab in the ribbon.
-
Click on the "Run" button in the "Code" group to run the macro.
Note: The above code is just an example and may need to be modified to suit your specific needs.