Skip to content

Commit 924630a

Browse files
authored
twilio library is used (not working in india, check later if working)
1 parent 067a069 commit 924630a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

send_sms.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
from twilio.rest import TwilioRestClient
2+
3+
account_sid = "AC472774823c214ac92d8c774d465af68c" # Your Account SID from www.twilio.com/console
4+
auth_token = "4c58411772fc6ad3ff31b2c50e219cf0" # Your Auth Token from www.twilio.com/console
5+
6+
client = TwilioRestClient(account_sid, auth_token)
7+
8+
message = client.messages.create(body="romanoFF??",
9+
to="+919818002587", # Replace with your phone number
10+
from_="+14849334430") # Replace with your Twilio number
11+
12+
print(message.sid)

0 commit comments

Comments
 (0)