Skip to main content

I have written apex code to send sms its working fine but now i need to send the attatchment with same

I have converted same in Blob But not getting how to pass same as parameter in smsbody

String smsBody = '{"from":{"phoneNumber":"' + fromPhoneNumber + '"},"text":"' + message+ '","to":[{"phoneNumber":"'+ tonumber+'"}]}';


I am not an expert on SF Apex, but you can use this REST API to send MMS message (SMS with attachment)

https://developers.ringcentral.com/guide/messaging/sms/sending-images


Reply