Constant Contact deactivation problem

Occasional Participant

Constant Contact deactivation problem


Hi  i am deep kumar software developer. i used the curl function for constant contact but it deactive after two or three day automatically. i used the code for this is given below please see and check weather it is ok or have some problem in it. De


$ch = curl_init();

 curl_setopt($ch, CURLOPT_URL,$url);

 curl_setopt($ch, CURLOPT_FAILONERROR, 1);

 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

 curl_setopt($ch, CURLOPT_TIMEOUT, 3);

 curl_setopt($ch, CURLOPT_POST, 1);

 curl_setopt($ch, CURLOPT_POSTFIELDS, $data . $list_data);

 echo $cc_result = curl_exec($ch);

 curl_close($ch);


3 REPLIES 3
Employee

I am not sure what you mean by 'deactivate' in the context of this issue. Are you receiving an error message? If so, would you be able to provide the message.

Dan H

Support Engineer, Constant Contact

Occasional Participant


Hello sir i read your message. Means of deactivation is that it block the login .The error that comes  from their is wrong passowrd you have enter. So please check this coding that's it wrong or right.


 


$ch = curl_init();

 curl_setopt($ch, CURLOPT_URL,$url);

 curl_setopt($ch, CURLOPT_FAILONERROR, 1);

 curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

 curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

 curl_setopt($ch, CURLOPT_TIMEOUT, 3);

 curl_setopt($ch, CURLOPT_POST, 1);

 curl_setopt($ch, CURLOPT_POSTFIELDS, $data . $list_data);

 echo $cc_result = curl_exec($ch);

 curl_close($ch);


Employee

At this time I am still not clear what the issue could be. I am curious to see all of the code that you are using in this script. Please email me your API Key, username, and password, along with your code to our webservices support team so that I can further test this issue.


DO NOT post this information to this forum.

Dan H

Support Engineer, Constant Contact

Developer Portal

View API documentation, code samples, get your API key.

Visit Page