Support

Account

Home Forums General Issues how to receive an email after sending the form Reply To: how to receive an email after sending the form

  • The code above has the wrong post_type

    It’s also taken from the example, like I sent you earlier but I’d adjusted it to your custom post.

    Do you have any plugins blocking emails?

    I know the code used works as it’s the same as I use on my sites.

    What if you switch to a default theme and add the code, does it work?

    Can you hardcode the values in this line:
    $headers = 'From: ' . $name . ' <' . $email . '>' . "\r\n";
    I have a feeling you can’t access custom fields at this stage, I think you have to access the info via the field key

  • We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.