Hi,
I am using a trigger-based smart campaign to send an email. And I'd like to check upon email rendering, not in the smart list, if certain prerequisite are available in a specific way, and, if not, let the email send fail. I think I recall that an error during velocity parsing results in a sort of soft bounce/fail for the email send. How would I provoke that in practice? I.e., as strange as it might sound, I am looking for a code example in the veins of:
#if( ... )
Provoke velocity error/bounce
#end
TY.
Solved! Go to Solution.
#macro( throw )
#set( $zeroLengthList = [] )
${zeroLengthList[0]}
#end