I need to know how can we setup the different email on different host.

my site name is tailwindimaging.com and I want to send email from [email protected]

But I'm getting the error as per the above screenshot.

How can I fix it?

  • As long as your outbound mail system is happy with it that should be fine. At first glance I can't see any obvious hooks in CF7 to disable this validation, so you might have to comment out the code yourself for now (here) and maybe ask CF7 directly if there's a better solution.
    – Rup
    Oct 27, 2020 at 8:54
  • I guess the 'solve it properly' answer is to add a configurable list of additional email domains and extend the check to allow those too, instead of just commenting it out.
    – Rup
    Oct 27, 2020 at 8:58
  • @rup thank you for the answer, but I have tried this using this filter "add_filter( 'wpcf7_validate_configuration', '__return_false' );" An error has gone but can not receive any email.
    – Ravi
    Oct 27, 2020 at 14:49


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.