Skip to content

Instantly share code, notes, and snippets.

@sabuhiy
Created May 6, 2023 18:48
Show Gist options
  • Save sabuhiy/269581521e7a27e7f2ab63a160c20e6f to your computer and use it in GitHub Desktop.
Save sabuhiy/269581521e7a27e7f2ab63a160c20e6f to your computer and use it in GitHub Desktop.
%%[
IF (_MessageContext == "PREVIEW") THEN
]%%
<div min-height="150px" style="background-color: #f0f0f0;">
<center><span style="color: #3f3f3f; font-size: 16px; line-height: 50px;">This is initialization block for variables. Click to edit {AMPScript}.</span></center>
</div>
%%[
ENDIF
IF (_MessageContext == "PREVIEW" or _MessageContext == "SEND" or _MessageContext == "VAWP") then
/* ********************************* *
* ADD AND EDIT YOUR AMPSCRIPT BELOW *
* ********************************* */
ENDIF
]%%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment