Jump to content









Photo

send multiple SMS in a minute

SMS

  • Please log in to reply
No replies to this topic

#1 pquintan

pquintan

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 10 September 2018 - 08:47 PM

Hi,

 

I'm working in a new project . send 3 SMS ,  but my account  only can send one SMS  by  minute!!!

 

How can I get send  the 3  SMS  ?  I have no problem to wait 1 minute delay between two SMS,  but I have try with  TimeUnit.SECONDS.sleep(60) OR  TimeUnit.MINUTES.sleep(1); I will receive a Timeout error message and the  listener stops.

 

 

Can someone help me with this?

If you want to pause then use java.util.concurrent.TimeUnit:

TimeUnit.SECONDS.sleep(1);

To sleep for one second or for 10 minutes

TimeUnit.MINUTES.sleep(10);






Also tagged with one or more of these keywords: SMS

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users