Page 1 of 1

More recipients

Posted: Wed 18. Feb 2004, 00:19
by mdgroot
Is it possible to have more then 1 recipient in a emailform ?
Or perhaps a BCC ?

tx,
marc

Posted: Wed 18. Feb 2004, 00:48
by Oliver Georgi
Not without a patch.

Posted: Fri 2. Jul 2004, 07:48
by Stephan
Has there been any advancements in this area ?

Can I hardcode a bcc somewhere ?

Thanks in advance!

Posted: Fri 2. Jul 2004, 07:55
by Oliver Georgi
If I would need something like this I would setup a special formmailer email address - and there I would define additional forwarding recipients. I think everybody's web account has that option too. This is easier and faster to realize than hacking the code.

Oliver

Posted: Tue 6. Jul 2004, 13:40
by vvo
Hi,
If the wish is very big ...such as in my case you can hack the code in phpwcms/include/inc_act/act_formmailer.php.

For every form our customer wanted a bcc. Despite the fact that it isn't possible to create in within phpWCMS, I decided to hack to the code.

It works in my case;

Look for:
$from = "From: ".$recipient."\nReply-To: ".$recipient."\n"; (line no 235)

And change that into:
$from = "From: ".$recipient."\nReply-To: ".$recipient."\nBcc: info@yourdomain.coml\n";

No warranty given :wink:

Johan.