SMS delivery working example
The following example shows how to create an XML instructions file for an SMS delivery. The recipients are identified by applying a filter to the user database.
<?xml version=“1.0“ encoding=“utf-8“?>
<contactlab xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance“
xsi:schemaLocation=“http://t.contactlab.it/contactlab/xmld/contactlab.xsd“>
<auth>
<suid>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</suid>
<key>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</key>
</auth>
<campaign>
<sms>
<newsletter>1</newsletter>
<recipients>
<retry />
<filter>
<test>1</test>
<normal>2</normal>
</filter>
</recipients>
<delivery method=“auto“>
<remove_duplicates/>
</delivery>
<message>
<subject>my subject</subject>
<body><![CDATA[ text ]]></body>
<from>003902123456</from>
</message>
</sms>
</campaign>
</contactlab>