Skip to content

Commit ddd3da6

Browse files
Merge pull request seeditsolution#211 from rajanitnavapara8/patch-4
send sms using twilio
2 parents a45bad5 + 4808533 commit ddd3da6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

twilio_sms.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from twilio.rest import Client
2+
3+
sid = #write here sid number
4+
token = #write token number here
5+
client = Client(sid,token)
6+
7+
my_msg = "Hi, It's Working correctly...☺"
8+
9+
client.messages.create(
10+
to= #type here number to whom you're sending ,
11+
from_= #type your number ,
12+
body=my_msg
13+
)

0 commit comments

Comments
 (0)