How to apply mail forwarding in microsoft outlook
Mail forwarding in Microsoft Outlook allows you to forward incoming emails from one email account to another email account. Here's how to set up mail forwarding in Microsoft Outlook:
Method 1: Using Outlook's Built-in Forwarding Feature
- Open Microsoft Outlook and go to the "File" menu.
- Click on "Options" and then select "Advanced" from the left-hand menu.
- Scroll down to the "Send and Receive" section.
- Click on the "Forwarding" button.
- Select the email account you want to forward emails from from the "Forwarding" dropdown menu.
- Enter the email address you want to forward emails to in the "Forward to" field.
- Click "OK" to save the changes.
Method 2: Using Outlook's Rules Feature
- Open Microsoft Outlook and go to the "Home" tab.
- Click on the "Rules" button in the "Move" group.
- Click on "New Rule" and then select "Start from a blank rule".
- Choose "Move messages from someone to a folder" and click "Next".
- Enter the email address you want to forward emails from in the "From" field.
- Choose the folder you want to forward emails from (e.g. Inbox).
- Click "Next" and then select "Forward it to people or distribution list".
- Enter the email address you want to forward emails to in the "To" field.
- Click "Finish" to save the rule.
Method 3: Using Outlook's VBA Macro
-
Open Microsoft Outlook and go to the "Developer" tab.
-
Click on the "Visual Basic" button.
-
In the Visual Basic Editor, click on "Insert" and then select "Module".
-
Paste the following code into the module:
Sub ForwardEmails() Dim olApp As New Outlook.Application Dim olNamespace As Outlook.Namespace Dim olFolder As MAPIFolder Dim olItems As Items Dim olItem As Object Set olApp = New Outlook.Application Set olNamespace = olApp.GetNamespace("MAPI") Set olFolder = olNamespace.GetDefaultFolder(olFolderInbox) Set olItems = olFolder.Items For Each olItem In olItems If olItem.Class = olMail Then olItem.Forward olItem.To = "[email protected]" End If Next olItem Set olItem = Nothing Set olItems = Nothing Set olFolder = Nothing Set olNamespace = Nothing Set olApp = Nothing End Sub
-
Replace "[email protected]" with the email address you want to forward emails to.
-
Click "Run" to run the macro.
Note: The above code will forward all incoming emails from the specified email account to the specified email address. You can modify the code to forward emails based on specific conditions, such as subject or sender.