Copy the code in order to validate the sending of the message