Conditional statement for attachments

piashaw

New Member
Hi

is it possible to make a conditional statement which adds an attachment if necessary eg if Opt1 is Yes, then send attachment 123 (in addition possibly to other attachments). Great if you are sending a mailing to customers where some information is only relevant to certain customers.

Peter
 

piashaw

New Member
Hi

I obviously did something wrong as I entered:

<IF [[Opt2]] <> "">{File:"test.txt"}</IF>

It removed ALL my attachments and made no difference what status OPT2 was. I also tried {File:"c:\test.txt"} but that didn't work. I do NOT want it as an inline attachment if that makes a difference.

Peter
 

stanbusk

Administrator
Staff member
If you use a file tag inside a conditional statement you will add an inline attachment actually.
 

piashaw

New Member
Hi

Anyway of doing it NOT as an inline attachment?

Also why did it remove ALL the other NON-INLINE attachments which weren't in the conditional statement?

Peter
 

stanbusk

Administrator
Staff member
No way right now. To respond to your second question, when using a conditional statement in your message, only inline pictures are sent.
 
Top