Create a address book

Create a address book SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through November 14, 2013 » Create a address book « Previous || Next »
Author Message
elaking
New member
Username: Elaking

Post Number: 1
Registered: 07-2013
Posted on Tuesday, July 02, 2013 - 11:05 am:   

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 - 12: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

Login Login / Register Logout Logout Search Last 30 Days Topics Topics