send msg to service end with new line