One example of each would be:
One could start a letter, "Thank you for your letter of 20 November,..."
At the end of a letter, which has made a request (say, for a brochure to be sent out to them):
Thanking you in advance.
- For Teachers