![]() ![]() Valid Group IDs or Group names should be mentioned in this parameter. You can send to single group or multiple groups at once separated by comma. Sending SMS to your saved Contacts grouped by Group Name or Group ID. Group Message - Single or Multiple Groups (Required for groupMsg) While sending Simple message, sendMethod parameter needs to be simpleMsg Maximum comma separated mobile numbers allowed are 1000. You can include single number or comma separated numbers. Preferred mobile format is prefix with country code 91. Mobile number format can be 10 to 12 digits prefix with 0 or 91. Simple Message - Single or Bulk (Required for simpleMsg) If you want to enable then use this parameter and give value as YYYY-MM-DD HH:MM:SS. You can turn off duplicate checking of mobile numbers by giving value as false, duplicate numbers wont be removed. You could send unicode messages too.Ĭhecks and removes Duplicate mobile numbers. Maximum 160 characters allowed in message content. If you need responses in JSON or XML then you have to give value as JSON or XML. This is the message content which you want to send to your clients. For simple English, you can give value as text or for non-English messages, give value as unicode. This is to define simple or UNICODE message. You need not include this parameter if you have opted for promotional gateway. senderId parameter is an optional for Promotional Gateway customers. For International customers, sender name depends on country to country basis. ![]() GroupMsg: This value required for Group SMS option.ĮxcelMsg: This value required for Bulk Upload option.įor Indian customers, sender name would be of 6 alpha characters. SimpleMsg: This value required for single or comma separated mobile numbers SMS. You can avail this from your user control panel and use instead of userId and password HTTP Request parameter. You can use this if apiKey is not being used.ĪpiKey needs to be sent as HTTP header when you are not using userId and password credentials. The password needs to be urlencoded if there are any special characters used in the password field. ![]() You can use this if apiKey is not being used. The registered username parameter to be passed. You should use either one to authenticate your login. If you are looking for bulk SMS services, get in touch with mTalkz today.Authenticate your API request using userId-password or apiKey. It all depends on your approach and needs, as you will have to choose your applications on that basis. Eventually, you can move onto how to send bulk SMS using Python. This is the basic guideline on using Python to send SMS. Just ensure to keep your token of authentication a secret or else others will be able to send SMSes via your account as well. Within no time, you will receive an SMS, and that’s it! Hereon, you will be able to use this code to start sending and receiving SMSes. A code will be required for the newly created python file, which will help run the script once it is punched into the interpreter. XXXXXXXXXXX,XXXXXXXXXXX&message=hello there&format=json’) Sending SMS via PythonĪfter the basic setup is complete, the python command can be used to start off the interpreter. The syntax of the same should be checked prior to installation so that incompatibility error pop-ups can be kept at bay. Once you have punched in the command to create a virtualENV, you can go ahead and install the helper library. Compatibility between them all is necessary to avoid hiccups and delays. All of this depends heavily on the system you use for work, the other applications you install, and how well they work together. ![]() You will need to create a command to set up the virtualENV. This is where the Helper Libraries and virtualENV come in. It will help you understand your requirements better and dive more into how to send SMS to mobile using Python.ĭepending on the kind of package you take later, you will be able to send SMSes within the country or outside the country, or both. In this trial process, you can do much more than just sending SMSes. You can get in touch with reputed providers some of them even provide free accounts for trial – nothing can be better than that. Web APIĪ web API is important and vital to make the SMS sending process faster and more reliable. Also, do not forget about the web API, as it is crucial to make the process smoother and more approachable. Additionally, a PIP and virtualENV needs to be installed to monitor the app dependencies. Using Python 2 or Python 3 is strongly advised as the process works the best with these versions.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |