Solved

Attaching file in fax sdk

  • 20 June 2020
  • 2 replies
  • 1057 views

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

icon

Best answer by Anirban2396911020 20 June 2020, 12:34

View original

2 replies

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

Thank you

Reply