this doesn't work with my sendMessage() function
Your sendMessage function expects a char*, i.e a pointer to a character in RAM.
You need a version that expects a string from PROGMEM, or you need to copy your string from PROGMEM to RAM first.
this doesn't work with my sendMessage() function
Your sendMessage function expects a char*, i.e a pointer to a character in RAM.
You need a version that expects a string from PROGMEM, or you need to copy your string from PROGMEM to RAM first.