Constant Contact deactivation problem

Highlighted
New Member

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
Highlighted
CTCT Employee

I am not sure what you mean

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

Highlighted
New Member

Constant Contact deactivation problem


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);


Highlighted
CTCT Employee

More Information

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.

Constant Contact would like to hear from you

We want to hear from customers like you about your favorite features and how they have helped your business or organization. Tell us by answering a few questions in...

Read More
Featured