Hi,
I am writing an app that connects to Constant Contact API. I noticed that whenever I tried to pass an email address with pluss addressing (some_user+test1@domain.tld), API does not parse it and returned null.
Do I need to encode it first? Or does the API does not support it?
Thanks,
Rudy
Update
I was using the GetContacts API call (https://developer.constantcontact.com/api_reference/index.html#!/Contacts/getContacts)
I noticed that it passes email address as a URL query string, so it has to be URL encoded first.
Solution:
$email = urlencode($email);
Hello FirstNameL029140,
Thank you for reaching out to Constant Contact API Developer Support.
We’re glad to hear that you were able to resolve your issue.
Please let us know if you have any other questions!
Announcements
Join our list to be notified of new features and updates to our V3 API.
Sign Up