Which example of dialogue is formatted correctly?

A I said to her “Have fun on your summer vacation.”
b I said to her, “Have fun on your summer vacation.”
c I said to her “Have fun on your summer vacation”.
d I said to her, “have fun on your summer vacation.”