Different configuration for contact form per server

Hi,
I have a contact form setup like this:
http://neos.readthedocs.org/en/stable/HowTos/AddingSimpleContactForm.html#adding-a-simple-contact-form
Now on my local machine I want to use an email address like test@localhost as recipient but on my production server a different email address.
Of course I can use a different contact-form.yaml for production and dev envirionment but I don’t want to duplicate the whole form configuration, I just want to overwrite some fields.
Is that possible?

PS: Of course I can always change the line in production but then the code is not deployable which I want to achieve actually.

Hey Simon,

instead of setting the recipient address in your form directly, you can set the default recipient address via the settings, which you can then overwrite in the Production/Settings.yaml like:

TYPO3:
  Form:
    presets:
      default:
        finisherPresets:
          'TYPO3.Form:Email':
            options:
              recipientAddress: 'your-production-address@mail.com'

Cheers,
Daniel

thank you for your help!