You would use a formal register for your letter to Unisa and an informal one for your friend.
For example, you would use a formal greeting "Dear Sir or Madam" in your letter, but you would likely greet your friend with a "what's up!"
Also, you would use formal language throughout the letter, such as "I am writing to you to request..." while you would simply say "give me" to the friend