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 attachment
1 |1000 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.

Share
1 |1000 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.