Sending emails worked with the test button in the system configuration, but the contact form did nothing.
After lots of debugging, I found the reason in components/com_contact/controllers/contact.php.
Removing the line:
solved the problem.
I tried to change the
custom_reply parameter in the options of the contact, but this did not help.
Is there any other setting involved and defined in another place?