Which greeting is correct for a letter?

 - Dear Dr. yang,
 - Dear Dr. Yang,
The first greeting is correct:
Its first word is capitalized, and it ends with a comma. Dr. Yang is capitalized because it is a proper noun.