View Source twilio_sms

A hyper-minimal library for sending SMS messages

add-to-rebar-config

Add to rebar.config

{deps, [
	...
	twilio_sms
]}.

configure-it

Configure it

In your app.config file:

[{twilio_sms, [
	{default_from, "5555555555"},
	{account_sid, "ABCDF1234"},
	{auth_token, "ABCDEF1235"}
]}].

start-it

Start it

application:ensure_all_started(twilio_sms).

send-with-it

Send with it

To = "6666666666",
Message = "Hello from twilio_sms",
twilio_sms:send(To, Message).

Copyright 2015-2023 Jesse Gumm

Development Sponsored by Great States Volleyball

MIT License