Thanks for the reply.
When I install Contact Form 7 on the host from scratch, email delivery works. So, there are no issues with my server / wordpress configuration in delivering mail.
It’s only when I install through a capistrano+composer workflow, Contact Form 7 fails. This failure happens even though Contact Form 7 works on the local host.
I think something is happening during installation of Contact Form 7, that causes server / configuration dependence.
When you simply copy your WP configuration from one host to another (which is what capistrano+composer workflow does), the setup no longer works.
It’s easy to fix: re-install Contact Form 7 from scratch and email delivery starts working again. But, it also means that Contact Form 7 breaks automated deployments.
In essence, the installation (not just activation) of Contact Form 7 has host dependent components, and you cannot just copy WP from host to host.
Perhaps you could describe the installation process and what gets setup in databases, etc. so that I can modify and fix it?