0

Facing an issue, I noticed some cases where users are unable to unsubscribe if they have a + symbol in the email address.

Example - abc+cd@gmail.com

Does anyone have the same issue before? any idea why this is happening?

5

It happens because + equates to a space when the email address is URL encoded.

Your custom preference center will need to be updated to replace all spaces with + characters.

SSJS:

emailAddress = emailAddress.replace(" ","+");

AMPscript:

set @emailAddress = replace(@emailAddress," ","+")
1
  • Hey @Adam Spriggs you are amazing! Thanks for the quick help. – Marketing cloud Geek Dec 29 '20 at 17:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.