Simplified message sending code.