Created
January 14, 2020 13:56
-
-
Save zuzannamj/b9d12d1310c185e1a4263b8e87796910 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* update email in All Subscribers list */ | |
IF RequestParameter("email") != AttributeValue("emailaddr") THEN | |
SET @email = RequestParameter("email") | |
SET @Subscriber = CreateObject("Subscriber") | |
SetObjectProperty(@Subscriber, "SubscriberKey", @contactId) | |
SetObjectProperty(@Subscriber, "EmailAddress", @email) | |
SET @Status = InvokeUpdate(@Subscriber, @createErrDesc, @createErrNo, @createOpts) | |
ENDIF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment