Priyanka Singh

Priyanka Singh

  • 693
  • 1.4k
  • 671.1k

How to set from name dynamically in c# using Twillo for SMS.

Jun 4 2021 4:12 PM
Suppose we have to set SMS Snder ID alphnumeric dynamically using twillo .How we can we do that .I am using Twillo to send messgae.But i need to send sender name dynamically ,what we need to do.
 
TwilioClient.Init(accountSid, authToken);

var message = MessageResource.Create(
    to: new PhoneNumber("+15558675309"),
    from: new PhoneNumber("+15017250604"),
    body: "Hello from C#");
 
like in from we have to send company name "CSharpcorner" dynamically i am getting . What we need to done. I have paid version of twillo account.

Answers (1)