Enabling automatic replies is an effective way to inform others that you're out of the office by sending an automatic response to anyone who emails you. Follow the instructions below to send out-off-office automatic replies in Outlook.
Outlook for Web and Desktop application.
Toggle the Automatic replies button to ON. Enter the start and end dates for the time period you will be on vacation, and select any checkboxes at the bottom as needed.