He was also said to have taken the time to write a letter to another president -- Abraham Lincoln -- during the height of the war , to inform him that Robert Todd Lincoln , then a Harvard student , had been caught smoking .