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 <[email protected]> wrote:

> Yes, your problem might be able to be solved via sending a post message.
>
>
>
> == Rene
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Tania Petsouka
> *Sent:* Sunday, 08 May, 2011 12:50
> *To:* [email protected]
> *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+text=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
>
>
>

Reply via email to