Preheat your oven to 350°F.
Grease the cake pan well.
Mix butter and sugar until fluffy.
Add eggs one at a time.
Beat until everything combines smoothly.
Mix flour, baking powder, and salt separately.
Add dry ingredients to wet mixture alternately.
Pour in milk gradually while mixing.
Stir in vanilla extract gently.
Fold raspberries in carefully.
Pour batter into prepared pan.
Bake for 45 minutes until golden.
Insert toothpick to check doneness.
Cool in pan for 10 minutes.
Transfer to cooling rack completely.