To have Yahoo Mail reply to emails automatically while you're out of the office:
Select the gear in the upper-right corner of Yahoo Mail.
Select More Settings.
Select Vacation response.
Turn on the Turn on vacation response toggle switch.
Specify the start and end date for the auto-reply.
Type your auto-reply message.