void loop() {
timer.run();
ArduinoOTA.handle(); // For OTA
if (Blynk.connected()) { // If connected run as normal
Blynk.run();
} else if (ReCnctFlag == 0) { // If NOT connected and not already trying to reconnect, set timer to try to reconnect in 30 seconds
ReCnctFlag = 1; // Set reconnection Flag
connectionstatus(); //see if wifi is available
Serial.println("Starting reconnection timer in 30 seconds...");
timer.setTimeout(30000L, []() { // Lambda Reconnection Timer Function
ReCnctFlag = 0; // Reset reconnection Flag
ReCnctCount++; // Increment reconnection Counter
Serial.print("Attempting reconnection #");
Serial.println(ReCnctCount);
Blynk.virtualWrite(V59, ReCnctCount);
Blynk.connect(); // Try to reconnect to the server
}); // END Timer Function
}
}
what did you meant by wrong e-mail address in mail.properties.
I am getting the same error. I cannot make the notifications work.
I had a different e-mail address set in mail.properties(than the one used for the account in the application) . I set the same e-mail address and restarted the server, yet I get the same error.
I have the same problem. this happened after the application was updated from the playmarket. the old version of the application (I have a clone of the apk) works as before, the new version does not work even with the new server 0.41.15 …
It looks like that it is an app side issue. We will upload a new version soon. Just in case, please also update to the latest Blynk server, as recently there have been some updates connected with push support.