AMPscript is evaluated in the following order before an email is sent:
Subject Line: Evaluates AMPscript in the subject line first.
HTML Body: Evaluates AMPscript within the HTML body of the email.
Text Body: Evaluates AMPscript within the text body of the email.
This order ensures that any dynamic content or personalization logic is correctly applied in all parts of the email.
[: Salesforce AMPscript Evaluation Order, , , , , , ]
Submit