in reply to Re^4: joining string content
in thread joining string content

From my cursory reading of the Twilio documentation of the Message API, it expects $message to contain a JSON message as in the examples.

You send some string in the Body parameter that may or may not be a properly URL-encoded JSON message that Twilio expects.

Also, concatenating strings does not make something x-www-form-urlencoded. You should properly URL-encode the parameters or look (for example) at the URL::Encode module for properly encoding all the parameters. Especially, your phone numbers contain the + character, which needs to be URL-encoded, for example as %22.

Replies are listed 'Best First'.
Re^6: joining string content
by joyfedl (Acolyte) on Jun 24, 2025 at 13:23 UTC

    i have no any problem with script, am sending sms very well, but when i try to send bulk by entering numbers in this way +1234, +23444 in html. it doesn't work.

    i can only send bulk by doing this in backend like this my @recipients = ("+233434", "+233434");

    i didnt say there is any problem of sending, only problem is receipts