Skip to main content
Question

Send MMS Using api and sdk in C#

  • November 22, 2017
  • 8 replies
  • 947 views

How Can i send MMS using ringcentral sdk and api.

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

8 replies

  • Community Manager
  • 420 replies
  • November 23, 2017
I am creating a demo snippet. Stay tuned.

  • Community Manager
  • 420 replies
  • November 23, 2017

  • Author
  • New Participant
  • 2 replies
  • November 23, 2017
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.



  • Author
  • New Participant
  • 2 replies
  • November 23, 2017

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.


  • Community Manager
  • 420 replies
  • November 23, 2017
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.

  • Participating Frequently
  • 6 replies
  • November 17, 2021

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) };


PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2312 replies
  • November 17, 2021

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


  • Community Manager
  • 420 replies
  • November 17, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings