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
- Compose a new email or reply to an existing one.
- Click on the "Move" button in the "Tags" group of the "Home" tab.
- Select "Move to Folder" from the dropdown menu.
- In the "Move to Folder" dialog box, select the folder you want to move the email to from the list of folders.
- Click "OK" to move the email to the selected folder.
Method 2: Copy
- Compose a new email or reply to an existing one.
- Click on the "Copy" button in the "Tags" group of the "Home" tab.
- Select "Copy to Folder" from the dropdown menu.
- In the "Copy to Folder" dialog box, select the folder you want to copy the email to from the list of folders.
- Click "OK" to copy the email to the selected folder.
Method 3: Using Rules
- Go to the "Home" tab and click on "Rules" in the "Move" group.
- Click on "Manage Rules & Alerts" to open the "Rules and Alerts" dialog box.
- Click on "New Rule" to create a new rule.
- Select "Start from a blank rule" and then "Check messages when they arrive" or "Check messages when they leave" depending on your preference.
- Click "Next" and then select "with specific words in the subject" or "with specific words in the body" depending on your preference.
- Enter the specific words or phrases you want to use to trigger the rule.
- Click "Next" and then select "move it to the specified folder" from the "Actions" tab.
- Select the folder you want to move the email to from the list of folders.
- Click "Finish" to save the rule.
Method 4: Using VBA Macro
-
Open the Visual Basic Editor by pressing "Alt + F11" or by navigating to "Developer" tab and clicking on "Visual Basic".
-
In the Visual Basic Editor, insert a new module by clicking on "Insert" > "Module".
-
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
-
Replace the email properties and folder name with your own values.
-
Save the module by clicking on "File" > "Save" (or press "Ctrl + S").
-
Close the Visual Basic Editor.
-
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.