A secretary can be a male or a female, too as far as I know. Look at the meaning. Mr. John's secretary was ill so he or she couldn't type the letters. Maybe Mr John is the boss. Because his secretary was ill, he had to type the letters himself not the secretary who was at home in bed with his/her illness.
So the correct answer is himself here because Mr John is a male.