Joke Collection Website - Public benefit messages - If the verification of sending short messages by php fails, how can the failed short messages be automatically retransmitted within one minute?

If the verification of sending short messages by php fails, how can the failed short messages be automatically retransmitted within one minute?

Php SMS verification failed:

Sending failed, and the SMS interface returned a failure message.

Send it again with a failure message.

Then you should cache the information sent by the user every time, and ask again when the request fails.

It can be cached in a session or in a database.

The number of retransmissions can also be recorded, and then if it has been retransmitted, it will not be retransmitted! It depends on your needs!