Jump to content

Add cc's and bcc's to contact form


Recommended Posts

Hi,

Is there a way to add in Presta 1.6 extra email addresses as cc and bcc to the customer contact form so a copy of the messages is sent to another email address than the one set up?

Thanks

Link to comment
Share on other sites

You can open file: controllers\front\ContactController.php

Change parameters in Mail::Send(

Mail::Send( is written in classes\Mail.php

Quote

public static function Send($id_lang, $template, $subject, $template_vars, $to,
        $to_name = null, $from = null, $from_name = null, $file_attachment = null, $mode_smtp = null,
        $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = null, $bcc = null, $reply_to = null)

Change $bcc , $reply_to 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...