but this thing does not work
cls
setupemail "my mtp", "myport", "myadress", "mypwd"
button "Exit", [Exit]
wait
Do
if io(pi,4) = 1 then serialprintln "IO4=1"
loop until 0
[SendMail]
email "email", "from", "Alarm Message from ESP,", "Alarmtext"
wait
[Exit]
end
it would be very nice if anyone can take a look. What I´m doing wrong.
All the best
Andy