They're both fine. The first is only appropriate if you wrote him a letter in the first place. The second could refer to letters, emails, phone calls, text messages etc.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: