Skip to content

Issue with sending SMS with Twilio Content Template  #820

@satish-rheumera

Description

@satish-rheumera

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions