If you are writing to someone who has a doctorate or medical degree, use the abbreviated form: "Dr." However, for other titles, such as professor, judge, rabbi, etc., write out the full title and capitalize it. For example, your salutation in a letter to a judge would be, "Dear Judge Barnard." Or, if your correspondence was with a rabbi, you might write, "Dear Rabbi Williams."
Similar to business or employment_related correspondence, military correspondence also has set standards for the closing (also called a “valediction”) which one should present before one’s signature. If your company conducts business with the military – or if you are applying for a job in the military – you should be aware that “Very Respectfully” (often abbreviated as “V/R”) is used in written and emailed correspondence between military members.