'QPython cant send multiple SMS at once
I have text that is bigger than SMS limits so I splitted it, but qpython with androidhelper's Android.smsSend("address","text") send's only last sms
import androidhelper
import openpyxl
wb_obj=openpyxl.load_workbook(path)
sheet_obj=wb_obj.active
sheet_len=sheet_obj.max_row
def get_string_messages(msg):
func that splits sms
for i in range(sheet_len):
mail_content= "Long string value from excel"
sms_Address="sms address from excel"
for sms in enumerate(get_string_messages(mail_content)):
sms_mails.append(sms[1])
for i in sms_mails:
print("sending ",i)
print(droid.smsSend(sms_receiver_number,i))
Result:
Big SmS part1
Error=0 etc. info
Big SmS part2
Error=0 etc. info
Big SMS part2 sent and part1 is not initiated
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
