Cook the sweet potatoes in their skins for a good 40 minutes, until they are completely soft. Rinse with cold water and remove the peel. Finely mash the sweet potatoes in a bowl, add the butter and stir with the mixer. Add sugar, milk, eggs and spices. Pour the filling into the pie crust.