you have copied the helper function for filter #3 correctly, but you have failed to read and follow its instructions. A helper function is only a guidance and not a solution. If you look at your code (http://keldfoto.dk/wp-content/uploads/2019/05/screen1.jpg) you are trying to filter the fields ‘field-one’, ‘field-two’ and ‘field-three’. are you using such field names in your form?
Yes – look at screen2.jpg 😉
oops, my mistake, sorry.
So what output are you getting?
re-reading your initial question:
but no mail is sent from the contact form
this is a mail settings issue! This plugin doesn’t send emails, it only modifies the mail content. So if you’re not getting an email its an issue with either your server or SMTP configuration. Search on the CF7 forum for help.
But when the function not installed, the program send email.
Any place I have make a mistake?
I see. Did you enable WP_DEBUG mode to check for errors?
Will try it when I back, in an airplan on my way to Spain 😉
I will run some tests on my local server and see if something changed in the the CF7 plugin.
Now I got mail !
I have change the function.php :
add_filter( ‘wpcf7_validate_configuration’, ‘__return_false’ );
My mail look like this:
Fra: Hans Hansen
Emne: Bestilling af billeder
Bestilling fra Keld Foto hjemmeside:
Denne e-mail er afsendt fra en formular på Keld Foto (http://keldfoto.dk)
wpcf7_validate_configuration would imply your form wasn’t being submitted as it would fail validation… was that the case? were you getting any validation message?