How do I send several sms, but not all at the same time?

i did

really, and you got a white background ?

Are you serious?
A monster procedure?
Start simple, get it running, then add more logic

For example have 3 phone numbers in a list
Create a background process using the Clock.Timer event, use a timer interval of 10 seconds and send a sms to the next number on each timer event

Taifun

the issue is that while the app is foreground it sends. Its when its in the background it doesnt. It waits till its foreground again.

Start from this example

and get it running in the background

Taifun

Taking another look at your monster procedure...
Remember, there does not exist any user interface in the background... no labels, no textboxes etc

Taifun

no clue

And not interested to start from a simple working example? How do I make a delay interval per text on my bulk SMS app? - #7 by TIMAI2

Here is an example which does something in the background every 5 seconds Open Source • Background Tasks: Itoo 🚀 - #1297 by Kumaraswamy

Now combine those 2 examples to send sms in the background

Taifun