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