Skip to content

Commit 4808533

Browse files
send sms using twilio
1 parent 229f8d6 commit 4808533

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)