Hi,
I take an email as a php variable and put it into a couch variable like this:
if I now do
it works as expected and is displayed like this:
I now want to put this into a send_mail block, but if I do the same thing inside the send_mail block, it doesn't work (it doesn't show up at all).
The ultimate goal is to have the send_mail from attribute to be "<cms:show name /> <cms:show email />" for a "My Name <my.name@domain.com/>" output.
I take an email as a php variable and put it into a couch variable like this:
- Code: Select all
<cms:set tlemail = "<cms:php>global $tlemail; echo '<'.$tlemail.'>';</cms:php>" />
if I now do
- Code: Select all
<cms:show tlemail />
it works as expected and is displayed like this:
- Code: Select all
<my.name@domain.com/>
I now want to put this into a send_mail block, but if I do the same thing inside the send_mail block, it doesn't work (it doesn't show up at all).
The ultimate goal is to have the send_mail from attribute to be "<cms:show name /> <cms:show email />" for a "My Name <my.name@domain.com/>" output.