How it works...

The use of the Twilio client to send messages is very straightforward.

In step 1, we import the Client, and prepare the credentials and the phone number configured in step 2.

Step 3 creates the client with the proper authentication, and the message is sent in step 4.

Note that the to number needs to be one of the authenticated numbers while in a trial account, or it will produce an error. You can add more authenticated numbers; check the Twilio documentation.

All the messages that are sent from a trial account will include that detail in the SMS, as you can see in step 5.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.101.106