Warm the milk to about 37 to 40°C. Pour it into a bowl, sprinkle in the yeast, stir gently and leave for 5 to 10 minutes until foamy.
Add the flour, salt, softened butter, egg and vanilla essence to the yeast mixture and mix until a dough forms.
With a stand mixer and dough hook, knead for 6 to 8 minutes. By hand, knead for 8 to 10 minutes. The dough should be smooth, soft and slightly tacky.
Place the dough in a lightly oiled bowl, cover, and leave in a warm place for about 1 hour, until doubled in size.
Gently punch down the dough and roll it out to about 1.5 cm thick. Cut out doughnuts and place each on a small square of baking paper.
Cover loosely and rest for 30 to 45 minutes until puffy and airy. This is what makes them soft and fluffy.
Heat the oil to 170 to 175°C. Fry the doughnuts for 1 to 2 minutes on each side until deep golden brown, in small batches. Drain on a wire rack.
Bake instead (optional). Bake at 180°C for 10 to 12 minutes and brush with melted butter straight away.
Whisk the icing sugar, milk and vanilla essence until smooth. Add a few drops of milk if too thick, or a spoon of icing sugar if too thin.
Dip the tops of the slightly warm doughnuts in the glaze and let them set on a wire rack for about 10 minutes.