News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Send MMS Using api and sdk in C#
Tags: sdk
Nov 22, 2017 at 3:56am   •   6 replies  •  0 likes
sagar-patel

How Can i send MMS using ringcentral sdk and api.

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

6 Answers
answered on Nov 17, 2021 at 8:21am  

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

IOException: The process cannot access the file 'C:\Users\DELL\Source\Repos\CosmeticsOms\Oms.Web\wwwroot\files\RingCentral\test_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) };


 0
on Nov 17, 2021 at 8:24am   •  0 likes

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

on Nov 17, 2021 at 10:58am   •  0 likes

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.

answered on Nov 23, 2017 at 1:41am  
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.

 0
answered on Nov 23, 2017 at 12:32am  

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.


 0
answered on Nov 22, 2017 at 11:16pm  
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.



 0
answered on Nov 22, 2017 at 6:52pm  

 0
answered on Nov 22, 2017 at 5:18pm  
I am creating a demo snippet. Stay tuned.

 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us