Affiliate Emails from Contact Form 7

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?


Comments

5 responses to “Affiliate Emails from Contact Form 7”

  1. 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.

    1. Ok,
      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. 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.

    1. 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. 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.

Share