Question: are messages delivered when phone is off?
Answer: When the recipient's phone is turned off or dead, Apple holds the iMessages sent to that account on its servers and delivers them to the iPhone when the recipient turns it back on. ... The message is delivered to any of these devices when it is active, even if the message has not reached the phone.