The early history of military death notification has been covered previously in a few questions on this subreddit, but further responses are encouraged.
How did the wives of roman soldiers learn of their husbands deaths? and here, by u/Celebreth
I am a soldier who dies while on Crusade. How does my family find out?, by u/WelfOnTheShelf