Skip to main content

So I can send SMS just fine when I try to send MMS i get an parameter [] is invalid exception

where _img is a link to an img file. Can't seem to find any documentation on this at all...

params = {'from': {'phoneNumber' : number}, 'to':[{'phoneNumber' : toNumber }], 'text' : message}, _img
resp = platform.post('/restapi/v1.0/account/~/extension/~/sms', params)

Even your snippet code is broken so I don't know what is the exact parameter syntax do you use.

Anyway, here is the sample code for sending MMS using Python.


Anyway, I tried your code, I get 'attachement is not defined at builder.add(attachment)?


Reply