How to receive mail in particular folder in outlook

In Outlook, you can set up rules to automatically move incoming emails to a specific folder. Here's how:

Method 1: Using the "Rules" feature

  1. Open Outlook and go to the "Home" tab in the ribbon.
  2. Click on the "Rules" button in the "Move" group.
  3. Click on "Manage Rules & Alerts" in the drop-down menu.
  4. Click on "New Rule" to create a new rule.
  5. Select "Start from a blank rule" and click "Next".
  6. Choose "Move messages from someone to a folder" and click "Next".
  7. Enter the email address or domain of the sender you want to apply the rule to.
  8. Choose the folder you want to move the emails to from the "Move the message to the following folder" dropdown list.
  9. Click "Finish" to save the rule.

Method 2: Using a "Quick Step"

  1. Open Outlook and go to the "Home" tab in the ribbon.
  2. Click on the "Quick Steps" button in the "Move" group.
  3. Click on "Create New Quick Step" in the drop-down menu.
  4. Choose "Move to Folder" and click "Next".
  5. Enter the email address or domain of the sender you want to apply the rule to.
  6. Choose the folder you want to move the emails to from the "Move to" dropdown list.
  7. Click "Finish" to save the Quick Step.

Method 3: Using a "VBA Macro"

  1. Open Outlook's Visual Basic Editor by pressing "Alt + F11" or by navigating to "Developer" tab in the ribbon and clicking on "Visual Basic".

  2. In the Visual Basic Editor, click on "Insert" > "Module" to insert a new module.

  3. Paste the following code into the module:

    Sub MoveEmailToFolder()
     Dim olApp As New Outlook.Application
     Dim olNamespace As Outlook.Namespace
     Dim olFolder As MAPIFolder
     Dim olItem As Object
    
     Set olNamespace = olApp.GetNamespace("MAPI")
     Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox).Folders("YourFolderName")
    
     For Each olItem In olNamespace.GetDefaultFolder(olFolderInbox).Items
         If olItem.Class = olMail And olItem.SenderEmailAddress = "[email protected]" Then
             olItem.Move olFolder
         End If
     Next olItem
    
     Set olItem = Nothing
     Set olFolder = Nothing
     Set olNamespace = Nothing
     Set olApp = Nothing
    End Sub
  4. Replace "YourFolderName" with the name of the folder you want to move the emails to, and "[email protected]" with the email address or domain of the sender you want to apply the rule to.

  5. Save the module by clicking "File" > "Save" (or press "Ctrl + S").

  6. To run the macro, go to "Developer" tab in the ribbon and click on "Macros" > "Run" > "MoveEmailToFolder".

Note: The above code is an example and may need to be modified to fit your specific requirements. Additionally, be careful when using VBA macros as they can potentially cause issues with your Outlook configuration.