Forums

[Plugin: Contact Form 7] Using Tags in the To: Field (1 post)

  1. mutualdesigns
    Member
    Posted 2 years ago #

    I am having a problem and either need a solution or a new plug-in to use for what I am trying to do.

    I am trying to create an e-vite list on the following site that will send a custom HTML email to every email that is submitted to the form.

    http://keylifebenefits.com/fundraising/school/evite/

    Using Contact Form 7, I set the form up in the following way:

    <div id="referral">

    <p>Your Name: (Required)
    [text your-name]</p>

    <p>Your Email: (Required)
    [email your-email]</p>

    </div>

    <center><h3>Enter up to 6 Emails Below</h3></center>

    <div id="referral-left">

    <p>[email email1] </p>

    <p>[email email2] </p>

    <p>[email email3] </p>

    <p>[email email4] </p>

    <p>[email email5] </p>

    </div>

    <div id="referral-right">

    <p>[email email6] </p>

    <p>[email email7] </p>

    <p>[email email8] </p>

    <p>[email email9] </p>

    <p>[email email10] </p>

    </div>

    <div id="clear"></div>

    <center><p>[submit "Refer Friends"]</p></center><div id="referral">

    <p>Your Name: (Required)
    [text your-name]</p>

    <p>Your Email: (Required)
    [email your-email]</p>

    </div>

    <center><h3>Enter up to 6 Emails Below</h3></center>

    <div id="referral-left">

    <p>[email email1] </p>

    <p>[email email2] </p>

    <p>[email email3] </p>

    <p>[email email4] </p>

    <p>[email email5] </p>

    </div>

    <div id="referral-right">

    <p>[email email6] </p>

    <p>[email email7] </p>

    <p>[email email8] </p>

    <p>[email email9] </p>

    <p>[email email10] </p>

    </div>

    <div id="clear"></div>

    <center><p>[submit "Refer Friends"]</p></center>

    In the email that is being sent, I plugged [email1]. [email2], [email3], [email4], etc in so that any emails submitted will get the custom email.

    However, unless all of the email fields listed in the To: field are entered into the form, the form will not submit. I tried placing [email1] in the To and the rest in the Additional Header Information using a Cc and Bcc, but I could not get it to work.

    Anyone have any suggestion on how to make it work on Contact Form 7 or another WP plugin. I could code this myself, but I need to hand this site over to someone who isn't going to be adept in coding forms if needed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.