Wordpress Cform Plugin code modification request

Discussion in 'WordPress' started by nhldigest, May 11, 2007.

  1. #1
    The plugin that I want to use called CForms is a contact form submission plugin that offers CC feature when submitting the form contents. I would like to add a bcc feature to this plugin, but I can't figure out how to change the code.
    Here is the assistance that I received so far...any help would be greatly appreciated:
    Generally, you can quite easily go into the code and add a BCC field to the email header (in case you choose not to use the built in CC-option):

    look for the below statement (lines ~468 & 910, 931):

    $headers.= "Reply-To: " . $field_email . $eol;
    and add a
    $headers.= "BCC: " . $field_email . $eol;
    and/or change $field_email to whatever specific email address you want.​

    Would I insert the bcc email addresses like:

    "BCC: " . $joesmith@hotmail.com . $eol;BCC: " . $janesmith@hotmail.com . $eol;...etc???
     
    nhldigest, May 11, 2007 IP