question

bulk-t-shirt-site avatar image
bulk-t-shirt-site asked ·

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 ..

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

fax
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.

1 Answer

· Write an Answer
Phong Vu avatar image
Phong Vu answered ·

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.

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