The best way to write a letter of recommendation is to start out with a formal greeting, or using "To whom it may concern" if you don’t know the recipient. Follow the greeting with 2-3 sentences of praise for the person you’re recommending.
Break down the letter into short, but specific, paragraphs. Don’t ramble, but do flesh out your key points. Try to keep it at one page, covering the various aspects of their recommendation in brief, specific detail.