• Hi, we’re looking to build a system that gives a customer the ability to send a “request a quote” email to multiple companies at once. Putting it simply, there will be a selection of companies to chose from, the user will make their selection, and then, when they hit send, an email will get sent to us, as well as the selected companies. To do this, I was hoping to add the company’s email address to the BCC field when they are selected by the user.

    Firstly, is this even remotely possible?
    And if it is possible, can it be done securely? (Obviously, the companies emails can’t be publicly visible).

    Any help or advice on this would be greatly appreciated.

    Thanks,
    Tony

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @tonymedhurst

    Have you tried the Mail(2) option ?

    @tonymedhurst

    You could probably do it with this feature:
    https://contactform7.com/selectable-recipient-with-pipes/

    And put the result in the BCC field.

    If you need multiple companies to be able to be selected, you may be able to achieve the same results with the checkbox item instead of the select item.

    Test it out and see if it works.

    Thread Starter tonymedhurst

    (@tonymedhurst)

    @therealmoptop

    Yes! That’s exactly what I needed! Thank you.

    After playing around with it for a bit, I was able to get the checkboxes working nicely.

    Ideally, these checkboxes will be generated based on content from a custom post type.

    I’ve created a custom form tag, which I can use to display the desired content, but I’m not sure if it’s possible to set the values for either side of the pipe this way. I understand that the value on the right hand side of the pipe is hidden from the front end (for good reason), but does this mean that both values need to be set within the CF7 editor window for them to work?

    I did also try using a checkbox shortcode inside my custom form tag, which didn’t work (probably quite obviously), but I was wondering if it’s at all possible to do it this way.

    Again, any advice here would be amazing.

    Thanks,
    Tony

    @tonymedhurst

    You’re getting into unchartered territories here. You may be asking more than what a free plugin can offer.

    I’m not affiliated with CF7, just a user with a helpful tip. You may need to look at a more robust paid contact form plugin that has data query abilities.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Modify the BCC field from the front end’ is closed to new replies.