This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » BCC on feedback form

BCC on feedback form

BCC on feedback form

Saturday 27 October 2012 10:41:33 am - 4 replies


I'd like to add two blind carbon copy fields to the feedback form class.

Anyone know how to do this? I'm guessing its not as simple as adding a couple of extra recipient text fields?

Thanks in advance

Saturday 27 October 2012 11:15:04 am


Try something like this in your collectedinfomail form.tpl:

{set-block scope=root variable=email_bcc_receivers}{/set-block}
{foreach array('', '') as $email}
{append-block scope=root variable=email_bcc_receivers}{$email}{/append-block}

It should work for email_cc_receivers so I don't see why it couldn't work with email_bcc_receivers too. Don't have time to check it myself.

Modified on Saturday 27 October 2012 11:19:04 am by Ivo Luka─Ź

Saturday 27 October 2012 11:25:38 am

Thanks Ivo, I'll give it a try

Sunday 28 October 2012 9:27:11 am

The relevant line of code is:

$bccReceivers = $tpl->variable( 'email_bcc_receivers' );

in kernel/content/collectinformation.php

Sunday 28 October 2012 2:20:10 pm

Thanks guys

But, i'll admit it, i'm definitely out of my depth here.

I need a couple of extra recipient fields in the class and the relevant tpl's to make it work.

Can someone give me a quote for the work?

Thanks in advance


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from