how to write a formal letter to a person you do not know


The conventional salutation is

To Whom It May Concern:

However, this is considered somewhat outdated and unfashionable and appropriate only for limited situations.
If your letter is related to job prospecting, read these pages for alternatives: