Ok I have an email that invokes a content area, i set a variable in my email and would like to use it in my content area, is that possible?

I would like to do something like this:


<body style="background-color:#efefef;" bgcolor="#efefef">
var @test
set @test = "Confirm your place by 30th April 2015 and save up to £2,000"
%%=ContentAreaByName("My Contents\Main_Track_En_Partial_PH1")=%%

Content Area


This gives me an error when resolving @test. There is no way this is possible?


It's possible. You just need to reference your content area variable like this:


Brackets are for personalization strings, the v() function is for AMPScript variables.

|improve this answer|||||

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.