A resignation letter can also help your boss and your company start the transition process, get a replacement for you approved, and start planning internally, etc. The paper trail is beneficial all around. So what should go into your letter? Let's look at some examples of what to do (and perhaps more importantly, what not to do).
You'll have plenty of time to vent personally about your work grievances as you leave, but really, you stand to gain nothing by putting negativity into your resignation letter. And unless you're leaving the state and your current industry, you always run the risk of running into the same people later on. So you're far better off taking the high road and making sure your exit is a classy one.