My developer is having problems getting emails set as marketable. This is the call he is using – can anyone see what’s wrong with it? Thanks Peter
// this is the bit that sets the optin value…
$carray = array(
php_xmlrpc_encode($this->key),
php_xmlrpc_encode($contact['Email']),
php_xmlrpc_encode("newsletter subscriber"));
$call = new xmlrpcmsg("APIEmailService.optIn", $carray);
$result = $this->client->send($call);
return $contactId;
} else {
return false;
}