Vacation autoresponder
Under Preferences → Mail → Vacation, enable automatic replies. Enter the reply text and enable the subject field if you want a custom subject. Select the mailbox addresses to which the reply applies.

Days between responses limits repeat replies to the same sender. Mailing lists can be excluded. Under Activation constraints, enable and check both the start and end date before saving. The option to discard incoming mail affects delivery of the original. Leave it off for a normal absence if you want to read your mail when you return.
Test from an external mailbox while the responder is active. A second test from the same sender within the repeat interval may not trigger another reply.