Preheat your oven to 350°F (175°C) and line a cupcake tin with liners.
In a large bowl, whisk together the flour, sugar, cocoa powder, baking powder, baking soda, and salt.
Add the milk, vegetable oil, and vanilla extract to the dry ingredients and mix until well combined.
Stir in the boiling water until the batter is smooth. It will be thin.
Fold in the raspberries gently.
Fill the cupcake liners about two-thirds full with the batter.
Bake for 20-25 minutes, or until a toothpick inserted into the center comes out clean.
Let the cupcakes cool in the tin for 10 minutes, then transfer to a wire rack to cool completely.