Original: People thought he wrote secret letters to the Germans.
Simplified: People thought he wrote letters to the Germans telling them about secrets of the French army.