I get the following error when attempting to run an email preview:
The subscriber preview failed to generate. Review the details, correct all issues, and try again.
An unrecognized expression appears in a script block.
Script Expression: “1993”
MemberID: 7273990
JobID: 0
The following AMPScript code was used:
%%[Var @dyr<br>
SET @dyr=[Reunion Year]%%<br>
%%[IF @dyr==“1993” THEN]%%<br>
SET @FromName="name1"<br?
%%[ELSEIF @dyr==“2016” THEN]%%<br>
SET @FromName="name2"<br>
%%[ELSE]%%<br>
SET @FromName="default name"<br>
%[ENDIF]%%<br>
what am I doing wrong? How can I fix it?