I have managed to get my Arduino to email via Telnet but i am having problems getting a particular string to work… any help would be greatly appreciated.
The end result would be an email with the body something like this:
TempF : 86
Everytime I send this:
client.println(“TempF : 86”);
The email body is blank.
If I send this:
the body contains TempF 86 - as expected.
I have several hours of research into this and simply cannot come up with the solution.
client.print does not appear to work… only println
client.println(byte(58)); will place the “:” on its own line… but it must all be together as shown above.
if I place the “:” in a variable the result is a blank email also.
BTW I am using the code found on the old board here:
I have tried many things and am sure the answer will be simple… being a newbie to Arduino/C/telnet I am having some difficulty.
Any help is appreciated - Thanks in advance