-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
39 lines (29 loc) · 861 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
A Grails Plugin for Interacting with Twilio
https://www.twilio.com
CONFIGURATION
-------------
You will need to update your config.groovy with a section for twilio like that below
twilio {
account {
sid = 'XXXXXXX'
auth_token = 'XXXXX'
}
sms {
enable_status_callback = true // set this to false if you DON'T want twilio to send ACK requests to your application
}
phones {
main = '+16175551212'
}
proxy {
host = "www"
port = "80"
method = "http" // or https
auth {
username = "foo"
password = "bar"
}
}
}
Remember that the main phone will need to be your twilio Sandbox number, and that you can only send messages from
that number to verified twilio numbers. This restriction doesn't exist for purchased Twilio numbers.
SmsService is responsible for sending SMS messages. See the SmsController for example usage.