Create a address book

Create a address book SearchSearch
Author Message
elaking
New member
Username: Elaking

Post Number: 1
Registered: 07-2013
Posted on Tuesday, July 02, 2013 - 01:05 pm:   

can some tell me how to create a distribution list

i want to do it like this way

Ex;if someone send me text
using add word as the first word save that number in my distribution list.

please explain me more}}
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 4551
Registered: 08-2008
Posted on Tuesday, July 02, 2013 - 02:25 pm:   

Hi,

There is an HTTP interface for creating and updating distribution lists. It is described in the following post:

http://support.nowsms.com/discus/messages/485/20322.html

That post is 6 years old, so it doesn't describe all available options, but the basic idea is that when you have an entry to add to a distribution list, you issue the following command:

http://server:port/dlists?Username=smsuseraccount&Password=password&DListName=dl istName&DListMemberAction=Add&DListMember= 1234


Username and password refer to credentials for an account named under "SMS Users". The distribution list is created under that account by default.

To create a public distribution list instead, make sure "admin access" is enabled for the SMS User account, and add &DListPublic=Yes to the URL.

To delete an entry, change DListMemberAction=Add to DListMemberAction=Delete.

There are some PHP example scripts here: http://www.nowsms.com/sms-distribution-lists-with-php

Note that the example scripts do not include support for the newer DListPublic=Yes option, so you would need to modify the scripts if you need that support.

--
Des
NowSMS Support