// This program reads ascii text from comport and send an email with the text, // VERY usefull to bring all sorts of homebrew equipment online, // or deliver measure data to any remote or handheld unit. // Made by SidseFrank 3. Dec 2015 // (help, ideas, support, testing, distribution, me Thomas) // if this program help you and you are happy to use it, // please donate a fee to thomas@webx.dk via paypal // any donation will be put into improving ComMail, // any size of donation small or big will be most appliciated. // suggestions and bugs to no-one if paied value = 0 // This program was initially distributed via www.webx.dk // any distribution via any other source is not alowed See the ComMail.ini for comport and email settings Serial input, ascii text ------------------------------- EMAIL first ascii chars go to the SUBJECT 0xA4 is the code to end the subject and all following ascii chars goto the BODY inside the BODY you can use the code
to make a new line. 0x13,0x10 SEND THE EMAIL Side notes : if the seperator 0xA4 is NOT in the ascii string, ComMail will send the same received text in the subject and body. Limits : Subject is limited to 255 chars, but note gmail will truncate to 130 chars, so better keep the subject under that number. Body is limited to 1000 chars. ------------------------------- URL start the text string with URL: then your http://api.thingspeak.com/update?key=blablablabla&field1=15 end with 0x13,0x10 to submit the URL with your parameters replace blablablabla with your update API key