Is it necessary to customize letters of recommendation with recipient names?
I can hardly see the need of addressing the reader in a letter of recommendation, but if your professor wants to do it, they can use a process called mail merge.

Common word processors have mail merge functionalities (e.g. MS Word).