I acknowledge receipt of your letter dated.... (this is more formal) With reference to your letter dated.... (as a reply to the letter) I am so pleased to receive your letter... (as a friend)