Prepare for It. In this case, all you can do is politely deliver your resignation, then strive to make the transition as easy as possible for your team. Your manager may not have the ideal reaction to your news__and your workplace may not be the most pleasant environment for the next two weeks__but to avoid burning bridges, it's best to work through it with a positive attitude.
If You Want to Do More Than Just the Basics with Your Resignation Letter. You can always write more, and craft a longer resignation letter, but the truth is that it isn't necessary. You can add a portion of the note where you thank your manager or boss for the opportunities and time you have had together, or add that you hope to keep in touch, but in reality, if you really feel this way you probably should make an effort and find an opportunity to say these things in person (rather than getting an email).