Turn on or modify automatic replies
At the top of the page, select Settings > View all Outlook settings > Automatic replies.
To turn on automatic replies, select the Turn on automatic replies toggle.
Select the Send replies only during a time period check box, and then enter a start and end time.
If you don't set a time period, your automatic reply remains on until you turn it off by selecting the Automatic replies on toggle.
Select the check box for any of the following options that you're interested in:
Block my calendar for this period
Automatically decline new invitations for events that occur during this period
Decline and cancel my meetings during this period
In the box, type a message to send to people during the time you're away.
To only send replies to your contacts, select the Send replies only to contacts check box.
To turn off automatic replies, return to the Automatic replies page and select the Automatic replies ontoggle.