Skip to main content

How Can i send MMS using ringcentral sdk and api.

if anyone have sample code in C# then please share with me.

I am creating a demo snippet. Stay tuned.
Please use https://github.com/ringcentral/ringcentral-csharp-client

Update to version 1.0.3

And follow the sample code here: https://github.com/ringcentral/ringcentral-csharp-client/blob/1.0/RingCentral.Test/MmsTest.cs

Thank You  i am  able to send MMS.
But What should i do to sent the mms to a list of 50 numbers in one API call.



i have tried to send the list of 502 numbers for sms but i get error message thent

number of receipents exceeds than the group of MMS : [10] ?


why do i get it as it is clearly mentioned in yor api doc that 50 numbers list can be send for SMS/MMS per call.



https://support.ringcentral.com/article/RingCentral-Business-SMS-Frequently-Asked-Questions.html


8. Is there a limit to the number of recipients I can send an SMS / MMS to?

You can send an unlimited number of SMS / MMS to anybody in United States.

9. Is there a limit to the number of SMS / MMS that I can send?

You can send an SMS / MMS to up to a maximum of 50 recipients per SMS / MMS at once.


What is the exact error message please? You can catch and print the error message like this: https://github.com/ringcentral/ringcentral-csharp-client#exception-handling

We can provide further help as long as we see the exact error message.

I'm getting a error while sending MMS by using C#

IOException: The process cannot access the file 'C:UsersDELLSourceReposCosmeticsOmsOms.WebwwwrootfilesRingCentral est_4e28.jpg' because it is being used by another process.


MY CODE

var attachment = new Attachment { fileName = model.FileName, contentType = imageType, bytes = System.IO.File.ReadAllBytes(filePathCopy) };


Seems the file is being open by another program in your computer. This may have nothing to do with the SDK or the API.


It is not a RingCentral or SDK issue. As the error message suggests, the image is being used by another process.

And the error message is thrown by System.IO.File.ReadAllBytes(filePathCopy) which is just plain C# code.

You could try quit other processes which is locking that file. Or you may make a copy of the file.


Reply