Here is a whole lot of sample letters. Pick one you like and just copy it. In addition I'd keep it simple and above all, never be nasty or abusive, even if you feel like it. It may be that your employment contract requires you to give notice, so do that, and if not, it is common to give notice equal to one or two pay periods. Remember some companies do not give references, but do ask for a certificate of employment.
Answers & Comments
Here is a whole lot of sample letters. Pick one you like and just copy it. In addition I'd keep it simple and above all, never be nasty or abusive, even if you feel like it. It may be that your employment contract requires you to give notice, so do that, and if not, it is common to give notice equal to one or two pay periods. Remember some companies do not give references, but do ask for a certificate of employment.
https://www.google.com.au/search?q=sample+resignation+letter&newwindow=1&safe=off&espv=210&es_sm=122&tbm=isch&tbo=u&source=univ&sa=X&ei=rua3UtCDJ4m-kgWu9IHYBA&ved=0CC0QsAQ&biw=1280&bih=908