How to forward emails in Office 365

You want an easy way to forward all mails for one or more user(s) to another user? There are several ways to achieve this. One of them is to run the following command in powershell after you connect to Office 365.

Set-Mailbox user1 -ForwardingSmtpAddress -DeliverToMailboxAndForward $false

In this case, user1 is the mailbox you wish to forward mail for, and is the address that you would like to forward the email to. Because we set DeliverToMailboxAndForward to false, a copy of the email will NOT be kept in the Office 365 mailbox.

Do you want to turn off the forwarding?

Set-Mailbox user1 -ForwardingSmtpAddress $null

If you want to check ForwardingSmtpAddress just issue the following command:

Get-Mailbox -Identity user1 | fl DeliverToMailboxAndForward,ForwardingAddress,ForwardingSmtpAddress

Note: if you don't know how to connect to Office 365 from powershell please read this post.

2 thoughts on “How to forward emails in Office 365”

  1. Hello Joe,
    I am looking for Office 365 / Power Shell consultancy. This can be done over Skype. Please contact me if you are interested via email. Thanks

  2. whoah this blog is excellent i really like studying your articles.
    Keep up the good work! You already know, lots of persons are hunting around for this information, you could aid them greatly.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.