See the following section of the Kannel Userguide:
http://www.kannel.org/download/1.4.0/userguide-1.4.0/userguide.html#AEN3600

 

== Rene

 

From: Tania Petsouka [mailto:ta...@tessera.gr] 
Sent: Sunday, 08 May, 2011 16:19
To: Rene Kluwen
Cc: users@kannel.org
Subject: Re: thousands of receivers - http request huge url - curl

 

Thank you, but the question is how do i submit message to kannel via post?

On Sun, May 8, 2011 at 5:01 PM, Rene Kluwen <rene.klu...@chimit.nl> wrote:

Yes, your problem might be able to be solved via sending a post message.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Tania Petsouka
Sent: Sunday, 08 May, 2011 12:50
To: users@kannel.org
Subject: thousands of receivers - http request huge url - curl

 

Hello all,

 

I have to send unique sms to thousands of receivers.

 

So, i have

 

$url =
'http://host:port/send?user=user&from=from&to=to1+to2+to3+........+to1000+te
xt=smstext';

 

and i make a curl request.

 

The problem is that due to big length of my parameters when i have many
receivers, the url i call is huge an i get error for exceeding max url
length.

 

I could split receivers to smaller batches and call a curl for each batch,
but i don't think it's the best solution. 

 

Furthermore, so big url makes me feel that something is beeing done not as
properly as it could.

 

Could it be implemented with post??

 

What would you do to send so many messages to kannel?

 

Thank you

 

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to