See
To make it short,
if you don't know the person's name, you will write:
"Dear sir/madam,
(letter.. )
Yours faithfully,
Bernard"
If you know the person's name you'll write:
"Dear Madam Jessica Pretty,
(letter.. )
Yours sincerely,
Bernard"
If you are in an unformal relation, you'll...