Skip to content

Configuration

phil/contact-form-bundle
phil_contact_form:
    sender: contact@example.com          # required: an address of the site's own domain
    recipients: [info@example.com]       # required: at least one
    subject_prefix: '[Contact] '         # '' by default
    template: '@PhilContactForm/contact.html.twig'
KeyMeans
senderThe From of every message: an address the site's domain may send from, or SPF and DMARC fail
recipientsWho receives the messages, through ConfiguredRecipients
subject_prefixWhat every subject starts with, to sort the messages
templateThe template of the page, given form, sent and failed
ServiceRole
ConfiguredRecipients, aliased RecipientsThe recipients of the configuration
ContactFormTypeThe form, tagged form.type
ContactMailerThe email
ContactFormControllerThe page, public, tagged controller.service_arguments