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' => 'notifications@yourwebsite.com',
      'to' => 'admin@yourwebsite.com',
      /* recommended */
      /* ----- ----- ----- ----- ----- */
      'type' => 'smtp',
      'host' => 'mail.yourwebsite.com',
      'port' => 465,
      'security' => true,
      'auth' => true,
      'username' => 'notifications@yourwebsite.com',
      'password' => '* * * * *',
    ]
  ]
];

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.