*/
/*
|载入 app_config 文件
|--------------------------------------------------------------------------
*/
require '../app_config.php';
/*
|载入 SUBMAILAutoload 文件
|--------------------------------------------------------------------------
*/
require_once '../SUBMAILAutoload.php';
/*
|初始化 ADDRESSBOOKMessage 类
|--------------------------------------------------------------------------
*/
$addressbook = new ADDRESSBOOKMessage($message_configs);
/*
|必选参数
|--------------------------------------------------------------------------
|设置退订的联系人号码
|--------------------------------------------------------------------------
*/
$addressbook->setAddress('1**********');
/*
|可选参数
|--------------------------------------------------------------------------
|设置目标地址薄标识,将联系人从目标地址薄中删除
|默认值为 unsubscribe 即短信退订地址薄
|--------------------------------------------------------------------------
*/
$addressbook->setAddressbook('unsubscribe');
*/
/*
|require config file
|--------------------------------------------------------------------------
*/
require '../app_config.php';
/*
|require_once SUBMAILAutoload file
|--------------------------------------------------------------------------
*/
require_once '../SUBMAILAutoload.php';
/*
|init MESSAGEXsend class
|--------------------------------------------------------------------------
*/
$addressbook = new ADDRESSBOOKMessage($message_configs);
/*
|Required para
|--------------------------------------------------------------------------
|The First para: recipient email address
|The second para: recipient name(optional)
|--------------------------------------------------------------------------
*/
$addressbook->setAddress('18616761889');
/*
|Optional para
|--------------------------------------------------------------------------
|set target addressbook sign : Optional
|default value: unsubscribe
|--------------------------------------------------------------------------
*/
*/
/*
|载入 app_config 文件
|--------------------------------------------------------------------------
*/
require '../app_config.php';
/*
|载入 SUBMAILAutoload 文件
|--------------------------------------------------------------------------
*/
require_once '../SUBMAILAutoload.php';
/*
|初始化 ADDRESSBOOKMessage 类
|--------------------------------------------------------------------------
*/
$addressbook = new ADDRESSBOOKMessage($message_configs);
/*
|必选参数
|--------------------------------------------------------------------------
|设置订阅的联系人11位手机号码
|--------------------------------------------------------------------------
*/
$addressbook->setAddress('1**********');
/*
|可选参数
|--------------------------------------------------------------------------
|设置目标地址薄标识,将联系人添加到目标地址薄
|默认值为 subscribe 即订阅地址薄
|--------------------------------------------------------------------------
*/
$addressbook->setAddressbook('subscribe');