Whenever someone uses the contact form, I need to BCC a specific address (they want to know and make sure things are taken care off). Any advice?
Thanks

Comments

web506’s picture

I think this would be pretty cool. If someone could help with this it would be awesome...

web506’s picture

I think this is a great idea

web506’s picture

Hi, well after a while, I figured it out.

you have to add this piece of code to the module cck email

1- open the file email.module
2- look for this: function email_mail($key, &$message, $params)
3- find this piece of code

// Prepare the body:
$message['body'] = implode("\n\n", $msg);

and add the code below just underneath it.

add the following code below the
$message['headers'] += array(
'Bcc' => 'you@yoursite.com'
);

4- upload the module

I hope this helps!!!

eliosh’s picture

Status: Active » Closed (duplicate)
arbee’s picture