I am doing research on how to use exact target to send out email attachments: (could be multiple)
http://help.exacttarget.com/en-US/documentation/exacttarget/content/email_attachments/
I couldn't hard code it as in the following instruction:
%%=AttachFile("Portfolio","Example1")=%%
%%=AttachFile("Portfolio","Example2")=%%
%%=AttachFile("Portfolio","Example3")=%%
%%=AttachFile("Portfolio","Example4")=%%
%%=AttachFile("Portfolio","Example5")=%%
because the number of attachments I need to send out varies.
Does anyone have any idea of how I can achieve this programmatically?
Thanks a lot!
%%[IF Condition1 THEN]%%
%%=AttachFile("Portfolio","Example1")=%%
%%[ELSEIF Condition2 THEN]%%
%%=AttachFile("Portfolio","Example1")=%%
%%=AttachFile("Portfolio","Example2")=%%
%%[ELSEIF Condition3 THEN]%%
%%=AttachFile("Portfolio","Example3")=%%
%%[ELSEIF Condition4 THEN]%%
%%=AttachFile("Portfolio","Example3")=%%
%%=AttachFile("Portfolio","Example4")=%%
%%[ELSEIF Condition5 THEN]%%
%%=AttachFile("Portfolio","Example1")=%%
%%=AttachFile("Portfolio","Example5")=%%
%%[ELSE ENDIF]%%