Use a business closing and sign your name. Above all, be professional. If the you’re sending a physical letter, print it out and sign it by hand. Otherwise, just typing your name will do.
Then, explain how you know the person and why you’re qualified to recommend them. Include specific examples of the person’s qualifications and successes in the body of your letter, then end with a sentence affirming that you recommend the person for the job or position.