string
loginEmail =
"Spread@reasonables.com";
string
APIKey =
"Spread";
SpreadAPI.
SpreadWebService
MySpread =
new SpreadAPI.
SpreadWebService
();
bool
result = MySpread.GetSenderEmails(loginEmail, APIKey);
Dim
loginEmail
As
String
=
"Spread@reasonables.com"
Dim
APIKey
As
String
=
"Spread"
Dim
MySpread
As
New
SpreadAPI.
SpreadWebService
Dim
result
As
Boolean
= MySpread.GetSenderEmails(loginEmail, APIKey)
/**
* @name getUserSendEmails
* @function get sender email addresses
* @return
* all sender email
*/
public function getUserSendEmails($loginEmail,$apiKey){
$sendArr = array(
'loginEmail' => $loginEmail,
'password' => $apiKey
);
$Client=new SoapClient("http://service.rspread.com/Service.asmx?WSDL");
$result = $Client -> GetSenderEmails( $sendArr );
if( empty( $result ) ){
return -1;
}
return $result;
}
No sample.