Not enough memory to add my code to the "R4-Temp-Sensor" sketch

Yikes the Temp-Sensor example uses up 92%(242576 bytes of 262144 max on the R4)! No room to run the sketch I had built alongside the text messaging function. Too bad.

Optimize the code and then maybe it will fit.

For future travelers: The new ReadyMail library from @Mobizt is excellent, small, and works great with the Arduino Uno R4. For the R4 specifically, you will need to replace the "wifi.h" library with "wifi3s.h" and "WiFiClientSecure.h" with "WiFiSSLClient.h". Then to use the examples, delete the line ssl_client.setInsecure();. Hope this helps.