turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Constant Contact Community
- :
- Developer Community
- :
- Developer Support – ask questions, find answers
- :
- Subscribe after unsubscribe?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Subscribe after unsubscrib e?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-25-2009 09:47 PM
When a user unsubscribes from my site and then comes back later and subscribes again, the user is not added to the list.
I am using an implementation of this API example http://developer.constantcontact.com/samples/PHPco desnippets
If the user had unsubscribed and then fills out the form again, they should be re-subscribed.
I am using an implementation of this API example http://developer.constantcontact.com/samples/PHPco
If the user had unsubscribed and then fills out the form again, they should be re-subscribed.
RE: Subscribe after unsubscrib e?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2009 11:23 AM
This sample script only has the functionality for adding new customers. If a customer unsubscribes and than wants to be added back in, this is a form of an Update. Please see the documentation in the "Opting-in a Contact" section at the bottom of this page for more information for how to update and re-subscribe a contact.
Dave Berard
Product Manager, Constant Contact
Product Manager, Constant Contact
Thanks, that helps;
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-26-2009 10:48 PM
But is there an example available that will first check if they are unsubscribed, and either add them or resubscribe them based on the result?
In other words, a combination of these two samples?
I'd rather not reinvent the wheel.
In other words, a combination of these two samples?
I'd rather not reinvent the wheel.
Re:Thanks, that helps;
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-27-2009 06:40 PM
I have been working on taking the PHP example and adding more features to it, but it not done yet. I will show you what I have now and maybe you can get it to work for you.
You can download my example here
http://www.mediafire.com/?sharekey=c36edeef9caa602 cd6baebe61b361f7ce04e75f6e8ebb871
I
You can download my example here
http://www.mediafire.com/?sharekey=c36edeef9caa602
I
Mike C Support Engineer, Constant Contact
Thank You
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-28-2009 12:49 PM
Thank you, Mike. I was able to tailor that example to fit my needs.
One small error you may want to fix is that you are outputting the error message for "missing field" twice, because it is outputted immediately within the logic as well as later on in "echo $output;". Of course, that is a very small error in a very useful example file.
Thanks again,
Stanford
One small error you may want to fix is that you are outputting the error message for "missing field" twice, because it is outputted immediately within the logic as well as later on in "echo $output;". Of course, that is a very small error in a very useful example file.
Thanks again,
Stanford
Form just broke!
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-26-2009 03:38 PM
Mike,
My client just informed me that their CC form is no longer working. I am using this example and it was working fine. Now I am getting a 401 authentication error. I haven't changed anything. Did something change on CC?
Thanks
My client just informed me that their CC form is no longer working. I am using this example and it was working fine. Now I am getting a 401 authentication error. I haven't changed anything. Did something change on CC?
Thanks
re: Form just broke
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-26-2009 09:39 PM
Hello standford,
The most common reason for a 'sudden' 401 error is that the username or password for the account has changed. Are you certain that the credentials used in your script are still valid?
Thanks,
The most common reason for a 'sudden' 401 error is that the username or password for the account has changed. Are you certain that the credentials used in your script are still valid?
Thanks,
Tom M
Group Product Manager – Email Marketing
Group Product Manager – Email Marketing
The username and password are
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-28-2009 01:33 PM
The username and password are correct. I copied and pasted from the code to the CC login page and it worked.


