What if I erase an undelivered message
1 tick = server received the message. After this you can't stop the message to be sent.

You can stop messages to be sent if you delete them before the first tick appears. If you get lucky you have time for that...or you can try to quickly turn off WiFi/3g but most of the time messages get sent to server too quick for that