question

Viresh P avatar image
Viresh P asked Anirban answered

I want to send sms with new line in the text

I want to send sms messages from Api where there will be multiple lines.

And each lines will be a new line.

eg:

Hi
This is to inform that your payment is completed successful
You can now use your service.

Now how can I put new line at each line?

sms and text messaging
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Anirban avatar image
Anirban answered Viresh P commented

As per the reference here just using normal Unix newline characters will work:

https://forums.developers.ringcentral.com/questions/267/can-i-send-text-message-with-new-line-character-us.html

Unix newline will work:

\n\n 
1 |3000

Up to 8 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