Timeout after email sent with contact form


I’ve included a contact form which is sending email when submitted.

It works but front-office and back-office become unresponsive for 5 minutes. After that the website is back as if nothing happened

I don’t know how to debug this. I’ve tried SSL and TLS for SMTP config.

Thank you

I reply to myself!

My form is in a a modular page. I must add action parameter in the the form.md frontmatter and change the path to the thankyou page

  action: /my-modular-page-url
  display: _my-form-module/thankyou

Now it works as expected!

1 Like