Preheat your oven to 350°F (175°C). Grease and flour the two 9-inch round cake pans or line them with parchment paper for easy removal.
In a mixing bowl, combine the all-purpose flour, granulated sugar, unsweetened cocoa powder, baking powder, baking soda, and salt. Whisk together until thoroughly mixed.
Add the eggs, milk, vegetable oil, and vanilla extract to the dry ingredients. Beat on medium speed with an electric mixer for about 2 minutes, or until well combined.
Carefully stir in the boiling water to the batter. The batter will be thin, but this is normal.
Gently fold in the fresh raspberries, ensuring they are evenly distributed throughout the batter.
Pour the batter evenly into the prepared cake pans. Bake in the preheated oven for 30 minutes, or until a toothpick inserted in the center comes out clean.
Once baked, allow the cakes to cool in the pans for about 10 minutes, then transfer them to a cooling rack to cool completely.
Once the cakes are completely cool, you can frost them with your favorite chocolate frosting or simply dust them with powdered sugar.