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
i m trying to send fax with plain text and pdf in sand box mode , but still i received partially fax and without any attachment or fax text ..
Tags: rest api
Oct 9, 2020 at 1:46pm   •   1 replies  •  0 likes
bulk-t-shirt-site

require(APPPATH.'libraries/ringcentral-php/vendor/autoload.php');

$rcsdk = new RingCentral\SDK\SDK(CLIENTID, SECERTID, RingCentral\SDK\SDK::SERVER_SANDBOX);

$platform = $rcsdk->platform();

$response = $platform->login(USERNAME, EXTENSIONID, PASSWORD);

$request = $rcsdk->createMultipartBuilder()

->setBody(array(

'to' => array(

array('phoneNumber' => '(888) 908-7116'),

),

'faxResolution' => 'High',

))

->add('Plain Text', FCPATH.'faxdata/test.txt')

->add(fopen('https://medicalprior.serverhtf5.info//faxdata/test.txt', 'r'))

->request('/account/~/extension/~/fax');


$response = $platform->sendRequest($request);


print 'Sent Fax ' . $response->json()->uri . PHP_EOL;
...........................................
file Path is correct i double checked ...
my text file in just kb , it s not tooo long or more than 1mb

??????
this is received fax
+14244274896-1009-153548-079.pdf

1 Answer
answered on Oct 11, 2020 at 9:05am  

I just want to confirmed with you that there is an issue with the sandbox environment that fax is not function properly. We as investigating and fixing it asap.

I will update you when the issue is fixed.


 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