I think it will be easier to use substitutions, this can help you handle cases where the user didn't set an out of office, for example if he/she is sick but you can try to activate the inbound mail processing (transaction SO50) to process the out of office reply mail.
↧