More recipients

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
mdgroot
Posts: 155
Joined: Wed 11. Feb 2004, 17:47
Location: Netherlands

More recipients

Post by mdgroot »

Is it possible to have more then 1 recipient in a emailform ?
Or perhaps a BCC ?

tx,
marc
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Not without a patch.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Stephan
Posts: 17
Joined: Sat 17. Apr 2004, 01:38
Contact:

Post by Stephan »

Has there been any advancements in this area ?

Can I hardcode a bcc somewhere ?

Thanks in advance!
User avatar
Oliver Georgi
Site Admin
Posts: 9906
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post 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
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
vvo
Posts: 50
Joined: Sun 9. Nov 2003, 14:07
Location: Netherlands

Post 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.
Post Reply