Office 365 (Outlook on the web | Outlook for Windows/MacOS) - Automatic Replies
This topic shows you how to use the Automatic Replies tab. Use automatic replies whenever you want to let people who send you email know that you won't be responding to their messages right away because you are either unavailable or away from the office (such as on vacation). After automatic replies are turned on, only one reply is sent to each sender.
Note:The automatic reply will also show up for users who are attempting to interact with you via Teams - the automatic message will appear when they hover over your avatar.