Added improved SendingMessage logic to Mac provider