register message after sending