How to send mail to specific folder in outlook

To send an email to a specific folder in Outlook, you can use the "Move" or "Copy" feature. Here are the steps:

Method 1: Move

  1. Compose a new email or reply to an existing one.
  2. Click on the "Move" button in the "Tags" group of the "Home" tab.
  3. Select "Move to Folder" from the dropdown menu.
  4. In the "Move to Folder" dialog box, select the folder you want to move the email to from the list of folders.
  5. Click "OK" to move the email to the selected folder.

Method 2: Copy

  1. Compose a new email or reply to an existing one.
  2. Click on the "Copy" button in the "Tags" group of the "Home" tab.
  3. Select "Copy to Folder" from the dropdown menu.
  4. In the "Copy to Folder" dialog box, select the folder you want to copy the email to from the list of folders.
  5. Click "OK" to copy the email to the selected folder.

Method 3: Using Rules

  1. Go to the "Home" tab and click on "Rules" in the "Move" group.
  2. Click on "Manage Rules & Alerts" to open the "Rules and Alerts" dialog box.
  3. Click on "New Rule" to create a new rule.
  4. Select "Start from a blank rule" and then "Check messages when they arrive" or "Check messages when they leave" depending on your preference.
  5. Click "Next" and then select "with specific words in the subject" or "with specific words in the body" depending on your preference.
  6. Enter the specific words or phrases you want to use to trigger the rule.
  7. Click "Next" and then select "move it to the specified folder" from the "Actions" tab.
  8. Select the folder you want to move the email to from the list of folders.
  9. Click "Finish" to save the rule.

Method 4: Using VBA Macro

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

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

  3. Paste the following code:

    Sub MoveEmailToFolder()
     Dim olApp As New Outlook.Application
     Dim olMail As Outlook.MailItem
     Dim olFolder As MAPIFolder
    
     Set olMail = olApp.CreateItem(0)
     ' Set the email properties
     olMail.Subject = "Test Email"
     olMail.Body = "This is a test email"
     ' Set the folder
     Set olFolder = olApp.GetNamespace("MAPI").GetDefaultFolder(olFolderInbox).Folders("Test Folder")
     ' Move the email to the folder
     olMail.Move olFolder
    End Sub
  4. Replace the email properties and folder name with your own values.

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

  6. Close the Visual Basic Editor.

  7. To run the macro, go to "Developer" tab and click on "Macros" > "Run".

Note: The above code is just an example and you may need to modify it to suit your specific requirements.