Comments (4)
If the user is opted out, the only way we will accept them back into the account is by their action. Using the updateContact method with the third parameter as "true" will indicate to the API that the user is taking this action, and not the account owner. The contact will likely receive a new welcome email as a result of this as well.
You'll just want to make sure that this isn't misused. US law requires that if a user unsubscribes from a list, they cannot be added back by the mailer, so any sort of sync or other account owner addition of contacts should not use the method in this way, but something like a signup form should.
from php-sdk.
Someone wrote a decent doc page on opting contacts back in, and autoresponder (welcome email) triggers:
http://developer.constantcontact.com/docs/contacts-api/contacts-index.html
from php-sdk.
Thanks a lot,I will test the updatecontact method and add the true to the third parameter.
from php-sdk.
Hi,I have managed to make it works as expected.Thanks a lot
from php-sdk.
Related Issues (20)
- Resubscribe contact with OPTOUT status HOT 6
- Inconsistencies in example code HOT 2
- Composer Compatibility Issue
- Zombie Emails HOT 3
- Bad Request Using v3
- When use to PHP_CodeSniffer check source get some error?
- getVerifiedEmailAddresses HOT 2
- 3.0.0-alpha - cannot update contact returned from HOT 1
- 3.0.0-alpha
- Catchable fatal error: Argument 1 must be of the type array, string given HOT 1
- The query parameter email is not supported. HOT 2
- php-sdk 3.0.0-alpha: How to get contact Id (how to unsubscribe contact from specific list by email)? HOT 1
- remove git from your composer packages
- error 400 bad request when submitting from form HOT 1
- Is this project abandoned? HOT 4
- Get Bad request when we remove contact
- Problem create Contact
- guzzle compatibility on php 7 HOT 5
- Incorrect @return type
- This repository is no longer maintained!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-sdk.