A Professional Greeting. Your letter should be addressed to your boss. There's a good chance that this letter will merely end up in a file in HR, but it starts with your boss. Assuming this is someone with whom you work reasonably close with on a daily basis, it doesn't have to be super stiff and formal. Specific and professional is the right tone here.
Turning in your two weeks notice can be terrifying__because no matter how well you think you know your supervisor, you can never be 100% sure of his or her reaction. Will he be furious and insist on walking you out the door immediately? Will she beg you to stay, enticing you with an enormous raise? Or will he be completely civil and wish you the best of luck?