Getting a sensor alert after device remakes connection

I have a device made up and running, it sends out two types of on/ off notifications.
In one location the WiFi is real bad, and the device constantly goes off line for seconds at a time. I end up missing an alert that happened while it had lost connection.

Is there a way I can have it resend the alert after it has remade its connection?

Thanks for the input.

You can try the BLYNK_CONNECTED() function. This function can be used to run certain routines when hardware connects to Blynk Cloud.