Prominence mass ejections and their effects on the corona