Send MMS Message
You can send MMS messages using the HTTP/S interface. The MMS message is submitted over the HTTP interface using the Multipart Form Data format.
https://www.intellisoftware.co.uk/smsgateway/default.aspx
For secure SSL connection use https:
Request data contains submission parameters and the MMS message part files
Content-Type: multipart/form-data; boundary=AaB03x --AaB03x Content-Disposition: form-data; name="username" Content-Type: text/plain YourUsername --AaB03x Content-Disposition: form-data; name="password" Content-Type: text/plain YourPassword --AaB03x Content-Disposition: form-data; name="to" Content-Type: text/plain 0771012345 --AaB03x Content-Disposition: form-data; name="from" Content-Type: text/plain 0771054321 --AaB03x Content-Disposition: form-data; name="type" Content-Type: text/plain 5 --AaB03x Content-Disposition: form-data; name="text" Content-Type: text/plain MMS Message Subject --AaB03x Content-Disposition: form-data; filename="file1.txt" Content-Type: text/plain ... contents of file1.txt ... --AaB03x Content-Disposition: form-data; filename="file2.gif" Content-Type: image/gif Content-Transfer-Encoding: binary ...contents of file2.gif... --AaB03x--
Single line response is returned when sending to a single recipient or when the whole submission fails:
ID:10011000000000000001
ERR:INSUFFICIENT_CREDIT
Multiline response is returned when sending to multiple recipients:
44771012345,ID:10011000000000000001 44771012346,ID:10011000000000000001 44771054321,ERR:INVALID_NUMBER
A line is returned per recipient. Each line contains the recipient's number (international format), followed by comma, followed by the response. The ID applies to the whole submission and is identical for each recipient.
NOTE: The phone numbers listed in the response may not be identical to the numbers submitted. This is due to processing done to the numbers, e.g. international dialling codes added, duplicate numbers removed.