How to redirect mail in office 365

Redirecting mail in Office 365 involves setting up a mail flow rule, also known as a transport rule, to forward emails from one mailbox to another. Here are the steps:

Method 1: Using the Office 365 Admin Center

  1. Sign in to the Office 365 Admin Center with your admin credentials.
  2. Go to Mail > Mail flow > Rules.
  3. Click New rule.
  4. Select Redirect messages as the rule type.
  5. Choose the condition for which you want to apply the rule (e.g., "From a specific sender" or "To a specific recipient").
  6. Enter the email address you want to redirect the mail to.
  7. Choose the action you want to take (e.g., "Redirect the message to").
  8. Click Save.

Method 2: Using PowerShell

  1. Open PowerShell and connect to your Office 365 tenant using the following command: Connect-ExchangeOnline -UserPrincipalName <your_admin_email> -ShowProgress $true
  2. Run the following command to create a new transport rule: New-TransportRule -Name "Redirect Mail" -Conditions @{From = "[email protected]"} -Actions @{RedirectTo "[email protected]"}
  3. Replace [email protected] with the email address you want to redirect the mail from, and [email protected] with the email address you want to redirect the mail to.

Method 3: Using the Exchange Online PowerShell module

  1. Open PowerShell and import the Exchange Online PowerShell module: Import-Module -Name ExchangeOnline
  2. Run the following command to create a new transport rule: New-TransportRule -Name "Redirect Mail" -Conditions @{From = "[email protected]"} -Actions @{RedirectTo "[email protected]"}
  3. Replace [email protected] with the email address you want to redirect the mail from, and [email protected] with the email address you want to redirect the mail to.

Tips and Considerations