Skip to main content
The First Step
June 20, 2020
Solved

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

    The First Step
    June 20, 2020

    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

    2 replies

    The First Step
    June 20, 2020

    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

    The First Step
    June 21, 2020

    Thank you