Affiliate Emails from Contact Form 7

Posted in

Hey there, I have both Affiliates Pro and Contact Form Integration, I was looking for documentation or to see if this is possible.

I have a contact form on my website, but would like it to send the contact form email to the affiliate that referred them to this page. Is this possible?

The affiliate would refer someone to the page and once the user fills out the contact form the information would be sent to that affiliate?

5 Responses to Affiliate Emails from Contact Form 7

  1. Carl August 15, 2016 at 5:01 pm #

    I don’t think that’s exactly what I am trying to do. Lets say you are an affiliate to for my website and someone that you refer to the website fills out a form, I’d like the form they filled out to go directly to you (the affiliate). Is it possible to set the “Mail To” box to go to the affiliate? I don’t need a notification email necessarily just want the form to go directly to the affiliate from a referring user.

    • antonio August 15, 2016 at 6:19 pm #

      then you need to use the ‘wpcf7_additional_mail’ filter to add extra emails to the form. This feature is not available from the Affiliates plugin.
      Kind Regards,
      Antonio B.

  2. Carl August 12, 2016 at 4:21 pm #

    So how would I populate the “To” form in the Mail tab to send to the affiliate. I see that there are [your-name] but can seem to find any that are [your-email] or [affiliate-email].

    How do I populate the form to send to the affiliates email address.

    • antonio August 15, 2016 at 7:33 am #

      Hi Carl,
      Adding the contact form fields to the affiliate notification, really I think that you don’t need to send an extra email. But if you need to send an extra email to the affiliate, you can use the ‘wpcf7_additional_mail’ filter (here you have an example how to use it).
      Kind Regards,
      Antonio B.

  3. antonio August 12, 2016 at 8:24 am #

    Hi carl,
    In Affiliates->Contact Form 7 section you have:
    Contact Form 7 field names can also be used as tokens. The tokens are replaced by the text or values that have been submitted through a form.
    For example, assuming you have a text field in your form named your-name and the field is represented by the code [text your-name] in your form, you can use [your-name] in the notification email subject and message body.

    Kind Regards,
    Antonio B.

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account