Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- xml rpc request with mynewsletter builder
July 13, 2011, 4:17 am
rate this thread
I need to execute a certain function from mynewsletterbuilder.
It's got documentation but I don't get it working correctly :( Not sure if I
don't read the docu correctly or what... :(
The link to the docu is http://www.mynewsletterbuilder.com/api/docs/1.0/Subscribe
and with my code all i'm getting back is:
Fault: Code: -32602 Message: server error. invalid method parameters
My code looks like this:
$api_key = 'MyAPIcode';
$details = array(
'email' => 'firstname.lastname@example.org',
'first_name' => '',
'middle_name' => '',
'last_name' => '',
'full_name' => '',
'company_name' => '',
'job_title' => '',
'phone_work' => '',
'phone_home' => '',
'address_1' => '',
'address_2' => '',
'address_3' => '',
'city' => '',
'state' => '',
'zip' => '',
'country' => ''
$lists = array(MyListID);
$skip_opt_in = FALSE;
$update_existing = TRUE;
$retval = new xmlrpcmsg('Subscribe',
$c = new xmlrpc_client("/1.0/", "api.mynewsletterbuilder.com", 80);
$c->return_type = "phpvals";
$r = $c->send($retval);
echo "Response: " . $r->value();
. " Code: " . htmlentities($r->faultCode()) . "\n"
. " Message: " . htmlentities($r->faultString()) . "\n";
Does anyone see what I'm doing wrong??? I don't see it... :(
Help is greatly appreciated!
Re: xml rpc request with mynewsletter builder
I'd suggest you start by asking mynewsletterbuilder support. The
problem is obviously their code does not like the parameter list you are
When working with a product, the best place to ask for help is almost
always with that product - they know their code much better than anyone
Remove the "x" from my email address
JDS Computer Training Corp.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — The site's Newest Thread. Posted in » Secure Shell Forum