How do I add a Linefeed into a string that I am build as an email message ?
When printing to the serial window, it's easy.
But when concatenating a long message string to be sent as a text or email message
how do I embed a linefeed into the assembles message string ??
//This part works fine....
//create the leading part of the message
strMessageLead = "NUTRIENT TEMP.(C) = ";
//Concat the leading part to the temperature value
//(not possible if the value was left as a floating decimal)
strMessageBody = strMessageLead + intCelsius; // <<<< I want to add a line feed here
//Additional text to Concat on the next line
strMessageBody = "Some other text"
//This part works fine....
//Convert the message body to an array
//My email routine requires an array of charachters instead of a String variable.
//Convert the message string to a CHAR array for mailing
strMessageBody.toCharArray(msgArray, 28);
Thanks
Gosub283