Oh sorry about that, i contact the correct way! thanks
I’ve got it working now! I used a hook to examine the cart if users billing_country was a EU country to implement an exemption rule. I realized I forgot to include the condition if(is_checkout()).
Late answer but
look at the hook wpcf7_before_send_mail
function _cf7_api_sender($contact_form)
{
$title = $contact_form->title;
if ($title === ‘My form’) {
$submission = WPCF7_Submission::get_instance();
$files = $submission->uploaded_files();
// do what you want with the files
}
}