question

Kt109 avatar image
Kt109 asked ·

Attaching file in fax sdk

Hi,

We are exploring ringcentral sdk. Can some one help to clarify how to attach files for Fax call in sdk and enable the mime type. for example, we can enable different mime types like text, pdf etc for the attached file

fax call
2 comments
1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Which sdk are you using? what programming language?


0 Likes 0 ·

We are trying Java sdk

0 Likes 0 ·
Anirban avatar image
Anirban answered ·

Since as you said in your comment, you are using java sdk, you can use following example to attach your files with required content type:

Attachment attachment = new Attachment();

attachment.fileName = "test.pdf";

attachment.contentType = "application/pdf";

ref: https://developers.ringcentral.com/guide/messaging/fax/sending-faxes

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Kt109 avatar image
Kt109 answered ·

Thank you

1 |1500 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys