Skip to main content

Contact form

Contact form widget

Step 1

  • Open site/config/config.php
  • Add 'email' presets to config

It should look something like this:

return [
  'email' => [
    'transport' => [
      // Required
      'from' => 'webmail@example.com',
      'to' => 'john@example.com',
      // Recommended
      'type' => 'smtp',
      'host' => 'mail.example.com',
      'port' => 465,
      'security' => true,
      'auth' => true,
      'username' => 'webmail@example.com'
      'password' => '...',
    ]
  ]
]

In this example webmail@example.com is used to send new contact form notifications to john@example.com.
Reference: https://getkirby.com/docs/guide/emails

Step 2

  • Login to site panel
  • Scroll to settings > contact page
  • Select a page of your choice
  • A contact form widget will appear on selected page

🤖 Privacy Policy

We use cookies to improve your experience. Find out more in our privacy page and documentation page.

👾 Popup With Options

Popup can have up to 3 buttons you can use to save user preferences. To learn more visit documentation page.