Contact Form 7
Add BCC or CC (1 post)

  1. progresst
    Posted 3 years ago #

    I have the following snippet and shortcode on an external PHP page that displays within wordpress working correctly:

    echo preg_replace('!<input type="text" name="your-subject" value=""!','<input type="text" name="your-subject" value="MLS# '.$row['mlnum'].'"',do_shortcode( '[contact-form-7 id="17" title="Bonita Springs Contact Form"]' ));

    I'd like to send a bcc: or cc: configured in the same fashion but I can't seem to get the syntax correct?

    How do I alter this code to include a bcc: to test@test.com?


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic