Jump to content









Photo

Problem with send SMS to many number.

SMS API SDK Number Problem send

  • Please log in to reply
2 replies to this topic

#1 Markerwapk

Markerwapk

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 21 July 2015 - 01:28 PM

Hi,

 

This is my first post. Sorry for my bad English :)

 

I want to send SMS to many number. My code:

 

import com.carriots.sdk.utils.Sms;
def sms = new Sms ();
sms.to="0048******360;0048******916";
sms.message=context.data.message;
sms.send()
 
Error:
Validation error Value 270048******360 3B0048******916 27 is invalid for parameter 27recipient 27
 
When I want send only for one number, everything work great.
 
What Is wrong with it? Only 5 SMS per day and 4 faults :(


#2 sdeancos

sdeancos

    Master of Puppets

  • Members
  • PipPipPip
  • 105 posts
  • LocationMadrid, Spain.

Posted 22 July 2015 - 06:52 AM

Hi Markerwapk,

 

There must be a error in the documentation, the delimiter is comma.

for example:

 

sms.to="0048******360,0048******916";


I hope this help you.
BR



#3 Markerwapk

Markerwapk

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 24 July 2015 - 07:54 AM

Work. Thanks :)







Also tagged with one or more of these keywords: SMS, API, SDK, Number, Problem, send

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users