Preheat the oven to 350°F (175°C).
In a large bowl, combine the bread cubes, diced mangoes, and shredded coconut.
In a separate bowl, whisk together the sugar, eggs, milk, vanilla extract, ground cinnamon, and salt.
Pour the egg mixture over the bread and mango mixture, stirring gently to combine.
Let the mixture sit for 15-20 minutes, allowing the bread to absorb the liquid.
Transfer the mixture to a greased baking dish.
Bake for 45 minutes, or until the pudding is set and golden brown on top.
Remove from the oven and let cool slightly before serving.
Serve warm or at room temperature, optionally with a scoop of vanilla ice cream.