Can anybody tell me why this isn't working...

I am using the cforms plugin for wordpress and have a checkbox for newsletter sign up that I want to pass to CM.  The CMBase.php file is in the right place, the APIs are correct.  The form submits properly.  The only thing that isn't working is the the name and email isn't appearing in the subscribers list.  Can anybody have a stab at why this isn't working>



function my_cforms_action($cformsdata) {
    $form   = $cformsdata['data'];
    $subscribe = $form['Join our newsletter'];
        if($subscribe == 'on') {
            $api_key = 'xxx';
            $client_id = 'xxx';
            $campaign_id = null;
            $list_id = 'xxx';
            $cm = new CampaignMonitor( $api_key, $client_id, $campaign_id, $list_id );
            //This is the actual call to the method, passing email address, name.
            $result = $cm->subscriberAdd($form['Email'], $form['Your Name']);

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free