The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Contact Form 7
Dynamic reciever of email 2? (1 post)

  1. eivind1984
    Posted 2 years ago #

    Hi! Thank you for a great plugin.

    I have a question / feature request:

    Would it be possible to dynamically specify the reciever of email 2?

    I have two scenarios where this would be useful. Both require the setup of a "base" form, for example a form that takes registration to events. This form would be used in several posts, for example multiple events (with different contact persons).

    Setting it by shortcode
    First scenario is a site where events are published as basic posts. In the bottom of the post I would add the shortcode for the contact form, but in addition to the regular shortcode parameteres, I would add "recepient=email@domain.tld". That way, all registrations being entered to that event would also be emailed to email@domain.tld.

    Grabbing reciever from custom field
    Second scenario is a bit more advanced. Events are published as a custom post type. An email address is registered in a custom field. When setting up the contact form, in the reciever-field of email 2, I add the name of this custom field. Whenever someone publishes an event in the custom post type, they'll add their email address in the custom field. Whenever a registration is submitted to the event, contact form sends a copy of the registration to the email in the custom field.

    Do you think that would be possible now, or in a future upgrade?

    Thanks again :)


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


No tags yet.