More robust send group message function.