Which greeting is correct for a letter?

 - Dear Ms. Montoya,
 - dear Ms. Montoya,
The second greeting is correct:
Its first word is capitalized, and it ends with a comma. Ms. Montoya is capitalized because it is a proper noun.