Hi
I'm wondering if I could use an if/else statement within a send_mail tag, in order to define to which emailaddress a message is send. (in my case the bcc address)
This is the code I would write to achieve this, but I get an error message.
Could you look into this if the code is wrong?
Or is there an other approach to achieve this?
Thanks!
I'm wondering if I could use an if/else statement within a send_mail tag, in order to define to which emailaddress a message is send. (in my case the bcc address)
This is the code I would write to achieve this, but I get an error message.
Could you look into this if the code is wrong?
Or is there an other approach to achieve this?
Thanks!
- Code: Select all
<cms:send_mail from='sam.verdyck@gmail.com' to=frm_email <cms:if frm_afhandeling = "Te leveren">bcc='hello@samverdyck.be, sam@badboot.be' <cms:else /> bcc='hello@samverdyck.be,' </cms:if> subject='Uw bestelling bij Casa Di Batavia' debug='1'>