| Author |
Message |
piashaw
Joined: 19 May 2008 Posts: 19
|
Posted: Fri May 23, 2008 2:09 pm Post subject: Conditional statement for attachments |
|
|
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 |
|
| Back to top |
|
 |
stanbusk Site Admin
Joined: 28 Dec 2005 Posts: 2387
|
Posted: Fri May 23, 2008 4:46 pm Post subject: |
|
|
| Yes, you can do that. Just add the file tag to the conditional statement. |
|
| Back to top |
|
 |
piashaw
Joined: 19 May 2008 Posts: 19
|
Posted: Fri May 23, 2008 5:54 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
stanbusk Site Admin
Joined: 28 Dec 2005 Posts: 2387
|
Posted: Mon May 26, 2008 9:41 am Post subject: |
|
|
| If you use a file tag inside a conditional statement you will add an inline attachment actually. |
|
| Back to top |
|
 |
piashaw
Joined: 19 May 2008 Posts: 19
|
Posted: Mon May 26, 2008 9:44 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
stanbusk Site Admin
Joined: 28 Dec 2005 Posts: 2387
|
Posted: Mon May 26, 2008 9:46 am Post subject: |
|
|
| No way right now. To respond to your second question, when using a conditional statement in your message, only inline pictures are sent. |
|
| Back to top |
|
 |
|