Skip to content

Instantly share code, notes, and snippets.

@zuzannamj
Created September 6, 2022 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zuzannamj/6bdfad7203bd6985d82a4e588175cd1d to your computer and use it in GitHub Desktop.
Save zuzannamj/6bdfad7203bd6985d82a4e588175cd1d to your computer and use it in GitHub Desktop.
%%[
var @emailAddress
/* get email address from the sendable data extension */
set @emailAddress = AttributeValue("email")
]%%
<script runat="server">
Platform.Load("core","1.1.1");
// get the value of the emailAddress AMPscript variable
var emailAddress = Variable.GetValue("@emailAddress");
Write("<br>email: " + emailAddress);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment