when delete the contact (email address) with api (PHP) you cannot add it again to constant contact. any solutions?
When you use the delete contact method in the PHP SDK, that is equivalent to an Unsubscribe action for the contact(s) specified. If a contact has been unsubscribed, they can only be added back to the account by using the updateContact method with the action_by_visitor parameter set as true. For example:
$ctct = new ConstantContact(APIKEY); $ctct->updateContact(ACCESSTOKEN, $contact, true)
It is important to note that re-adding a contact in this manner indicates that the contact has requested to be subscribed and WILL send the contact a welcome email.
If you simply wish to remove a contact from a list, there are two methods available:
If there is any additional information that I can provide, please let me know!
thanks for your answer
i m using
to delete the contact so when i delete it with this method i cannot add the email address again.