In formal salutations like 'Dear Mr. President', a comma is required after the name, just like 'Dear Grandma,'. This follows the standard letter-writing convention. The other options either use incorrect punctuation (period after 'Mr.' is correct but not at the end) or place commas incorrectly.