Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with sending SMS with Twilio Content Template #820

Open
satish-rheumera opened this issue Oct 11, 2024 · 0 comments
Open

Issue with sending SMS with Twilio Content Template #820

satish-rheumera opened this issue Oct 11, 2024 · 0 comments

Comments

@satish-rheumera
Copy link

satish-rheumera commented Oct 11, 2024

Hi,

Issue Summary

I have been using Twilio's Content Template builder to build templates. When using content Sid to send the SMS. The receiver receives '\n' for each new line in the template. It has started occurring today.

Content Template Type = twilio/text

Steps to Reproduce

  1. Create a template having multiple lines
  2. Run the code that sends SMS to receiver.
  3. You'll see that SMS received has '\n' for each new line in the template

Code Snippet

var message = Message.creator(to, from, "")
                .setContentSid(templateId)
                .create();

Technical details:

  • twilio-java version: 9.14.1 and 10.6.0
  • java version: 17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant